[INFO] cloning repository https://github.com/ZachClayburn/CompilerDesign-Project2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZachClayburn/CompilerDesign-Project2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZachClayburn%2FCompilerDesign-Project2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZachClayburn%2FCompilerDesign-Project2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c5943c0f008f9695a7b1a6e1c7771fe29319b8d5 [INFO] checking ZachClayburn/CompilerDesign-Project2 against master#c3def263a44e07e09ae6d57abfc8650227fb4972 for pr-118833 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZachClayburn%2FCompilerDesign-Project2" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ZachClayburn/CompilerDesign-Project2 on toolchain c3def263a44e07e09ae6d57abfc8650227fb4972 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c3def263a44e07e09ae6d57abfc8650227fb4972" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ZachClayburn/CompilerDesign-Project2 [INFO] finished tweaking git repo https://github.com/ZachClayburn/CompilerDesign-Project2 [INFO] tweaked toml for git repo https://github.com/ZachClayburn/CompilerDesign-Project2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ZachClayburn/CompilerDesign-Project2 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" "+c3def263a44e07e09ae6d57abfc8650227fb4972" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pretty_assertions v1.0.0 [INFO] [stderr] Downloaded peeking_take_while v1.0.0 [INFO] [stderr] Downloaded indoc v1.0.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+c3def263a44e07e09ae6d57abfc8650227fb4972" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05365b909f318872533a7ce23f87d2915c594088ce77ee2a1a232fe5101ceb8b [INFO] running `Command { std: "docker" "start" "-a" "05365b909f318872533a7ce23f87d2915c594088ce77ee2a1a232fe5101ceb8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05365b909f318872533a7ce23f87d2915c594088ce77ee2a1a232fe5101ceb8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05365b909f318872533a7ce23f87d2915c594088ce77ee2a1a232fe5101ceb8b", kill_on_drop: false }` [INFO] [stdout] 05365b909f318872533a7ce23f87d2915c594088ce77ee2a1a232fe5101ceb8b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+c3def263a44e07e09ae6d57abfc8650227fb4972" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 053fc972565aa564bf0456ed3fad87a5aaa30ce03c9e73c13b65086a8715e933 [INFO] running `Command { std: "docker" "start" "-a" "053fc972565aa564bf0456ed3fad87a5aaa30ce03c9e73c13b65086a8715e933", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling libc v0.2.104 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking memchr v2.4.1 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-bigint v0.4.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking os_str_bytes v4.2.0 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking simple_logger v1.13.0 [INFO] [stderr] Compiling indoc v1.0.3 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking peeking_take_while v1.0.0 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking pretty_assertions v1.0.0 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.5 [INFO] [stderr] Checking clap v3.0.0-beta.5 [INFO] [stderr] Checking compiler_design v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `CodeGenError` [INFO] [stdout] --> src/codegen/symbol_table.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{CodeGenError, Result}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/scanner/mod.rs:138:24 [INFO] [stdout] | [INFO] [stdout] 138 | '<' => (Ok(Token::Less(self.location))), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 138 - '<' => (Ok(Token::Less(self.location))), [INFO] [stdout] 138 + '<' => Ok(Token::Less(self.location)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/scanner/mod.rs:144:24 [INFO] [stdout] | [INFO] [stdout] 144 | '>' => (Ok(Token::Greater(self.location))), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 144 - '>' => (Ok(Token::Greater(self.location))), [INFO] [stdout] 144 + '>' => Ok(Token::Greater(self.location)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/scanner/mod.rs:150:24 [INFO] [stdout] | [INFO] [stdout] 150 | '=' => (Ok(Token::Assign(self.location))), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 150 - '=' => (Ok(Token::Assign(self.location))), [INFO] [stdout] 150 + '=' => Ok(Token::Assign(self.location)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/scanner/mod.rs:161:24 [INFO] [stdout] | [INFO] [stdout] 161 | '.' => (Ok(Token::Dot(self.location))), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 161 - '.' => (Ok(Token::Dot(self.location))), [INFO] [stdout] 161 + '.' => Ok(Token::Dot(self.location)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CodeGenError` [INFO] [stdout] --> src/codegen/symbol_table.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{CodeGenError, Result}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/scanner/mod.rs:138:24 [INFO] [stdout] | [INFO] [stdout] 138 | '<' => (Ok(Token::Less(self.location))), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 138 - '<' => (Ok(Token::Less(self.location))), [INFO] [stdout] 138 + '<' => Ok(Token::Less(self.location)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/scanner/mod.rs:144:24 [INFO] [stdout] | [INFO] [stdout] 144 | '>' => (Ok(Token::Greater(self.location))), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 144 - '>' => (Ok(Token::Greater(self.location))), [INFO] [stdout] 144 + '>' => Ok(Token::Greater(self.location)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/scanner/mod.rs:150:24 [INFO] [stdout] | [INFO] [stdout] 150 | '=' => (Ok(Token::Assign(self.location))), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 150 - '=' => (Ok(Token::Assign(self.location))), [INFO] [stdout] 150 + '=' => Ok(Token::Assign(self.location)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/scanner/mod.rs:161:24 [INFO] [stdout] | [INFO] [stdout] 161 | '.' => (Ok(Token::Dot(self.location))), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 161 - '.' => (Ok(Token::Dot(self.location))), [INFO] [stdout] 161 + '.' => Ok(Token::Dot(self.location)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `return_type` is never read [INFO] [stdout] --> src/evaluation/symbol_table.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | struct Scope { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 8 | pub table: HashMap, [INFO] [stdout] 9 | pub return_type: ProcedureType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `return_type` is never read [INFO] [stdout] --> src/evaluation/symbol_table.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | struct Scope { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 8 | pub table: HashMap, [INFO] [stdout] 9 | pub return_type: ProcedureType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.07s [INFO] running `Command { std: "docker" "inspect" "053fc972565aa564bf0456ed3fad87a5aaa30ce03c9e73c13b65086a8715e933", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "053fc972565aa564bf0456ed3fad87a5aaa30ce03c9e73c13b65086a8715e933", kill_on_drop: false }` [INFO] [stdout] 053fc972565aa564bf0456ed3fad87a5aaa30ce03c9e73c13b65086a8715e933 [INFO] checking ZachClayburn/CompilerDesign-Project2 against try#29596578cb5035fa2b7ac7fbdfea23fab38836e7 for pr-118833 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZachClayburn%2FCompilerDesign-Project2" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ZachClayburn/CompilerDesign-Project2 on toolchain 29596578cb5035fa2b7ac7fbdfea23fab38836e7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+29596578cb5035fa2b7ac7fbdfea23fab38836e7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ZachClayburn/CompilerDesign-Project2 [INFO] finished tweaking git repo https://github.com/ZachClayburn/CompilerDesign-Project2 [INFO] tweaked toml for git repo https://github.com/ZachClayburn/CompilerDesign-Project2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ZachClayburn/CompilerDesign-Project2 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" "+29596578cb5035fa2b7ac7fbdfea23fab38836e7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+29596578cb5035fa2b7ac7fbdfea23fab38836e7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e181cd877a3f6ac5f2b4f945efdd8586afb89dc42ccfb94f91d5928ef8626d83 [INFO] running `Command { std: "docker" "start" "-a" "e181cd877a3f6ac5f2b4f945efdd8586afb89dc42ccfb94f91d5928ef8626d83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e181cd877a3f6ac5f2b4f945efdd8586afb89dc42ccfb94f91d5928ef8626d83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e181cd877a3f6ac5f2b4f945efdd8586afb89dc42ccfb94f91d5928ef8626d83", kill_on_drop: false }` [INFO] [stdout] e181cd877a3f6ac5f2b4f945efdd8586afb89dc42ccfb94f91d5928ef8626d83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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" "+29596578cb5035fa2b7ac7fbdfea23fab38836e7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5dd4770df6bd29e6326650d65cd77ee90b5a878cd2c77fe6a6db8ee619c87700 [INFO] running `Command { std: "docker" "start" "-a" "5dd4770df6bd29e6326650d65cd77ee90b5a878cd2c77fe6a6db8ee619c87700", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling libc v0.2.104 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking memchr v2.4.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-bigint v0.4.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking os_str_bytes v4.2.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling indoc v1.0.3 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking simple_logger v1.13.0 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking peeking_take_while v1.0.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Checking pretty_assertions v1.0.0 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.5 [INFO] [stderr] Checking clap v3.0.0-beta.5 [INFO] [stderr] Checking compiler_design v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `CodeGenError` [INFO] [stdout] --> src/codegen/symbol_table.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{CodeGenError, Result}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/scanner/mod.rs:138:24 [INFO] [stdout] | [INFO] [stdout] 138 | '<' => (Ok(Token::Less(self.location))), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 138 - '<' => (Ok(Token::Less(self.location))), [INFO] [stdout] 138 + '<' => Ok(Token::Less(self.location)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/scanner/mod.rs:144:24 [INFO] [stdout] | [INFO] [stdout] 144 | '>' => (Ok(Token::Greater(self.location))), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 144 - '>' => (Ok(Token::Greater(self.location))), [INFO] [stdout] 144 + '>' => Ok(Token::Greater(self.location)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/scanner/mod.rs:150:24 [INFO] [stdout] | [INFO] [stdout] 150 | '=' => (Ok(Token::Assign(self.location))), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 150 - '=' => (Ok(Token::Assign(self.location))), [INFO] [stdout] 150 + '=' => Ok(Token::Assign(self.location)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/scanner/mod.rs:161:24 [INFO] [stdout] | [INFO] [stdout] 161 | '.' => (Ok(Token::Dot(self.location))), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 161 - '.' => (Ok(Token::Dot(self.location))), [INFO] [stdout] 161 + '.' => Ok(Token::Dot(self.location)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CodeGenError` [INFO] [stdout] --> src/codegen/symbol_table.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{CodeGenError, Result}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/scanner/mod.rs:138:24 [INFO] [stdout] | [INFO] [stdout] 138 | '<' => (Ok(Token::Less(self.location))), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 138 - '<' => (Ok(Token::Less(self.location))), [INFO] [stdout] 138 + '<' => Ok(Token::Less(self.location)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/scanner/mod.rs:144:24 [INFO] [stdout] | [INFO] [stdout] 144 | '>' => (Ok(Token::Greater(self.location))), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 144 - '>' => (Ok(Token::Greater(self.location))), [INFO] [stdout] 144 + '>' => Ok(Token::Greater(self.location)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/scanner/mod.rs:150:24 [INFO] [stdout] | [INFO] [stdout] 150 | '=' => (Ok(Token::Assign(self.location))), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 150 - '=' => (Ok(Token::Assign(self.location))), [INFO] [stdout] 150 + '=' => Ok(Token::Assign(self.location)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/scanner/mod.rs:161:24 [INFO] [stdout] | [INFO] [stdout] 161 | '.' => (Ok(Token::Dot(self.location))), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 161 - '.' => (Ok(Token::Dot(self.location))), [INFO] [stdout] 161 + '.' => Ok(Token::Dot(self.location)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `return_type` is never read [INFO] [stdout] --> src/evaluation/symbol_table.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | struct Scope { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 8 | pub table: HashMap, [INFO] [stdout] 9 | pub return_type: ProcedureType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/parser/ast/reductions.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | x if x == reduce_value => "reduce_value()", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can very between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: `#[deny(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/parser/ast/reductions.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | x if x == reduce_binary_op => "reduce_binary_op()", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can very between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/parser/ast/reductions.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | x if x == reduce_parenthetical => "reduce_parenthetical()", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can very between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/parser/ast/reductions.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | x if x == reduce_unary_operator => "reduce_unary_operator()", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can very between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/parser/ast/reductions.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | x if x == reduce_program => "reduce_program()", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can very between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/parser/ast/reductions.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | x if x == reduce_statement_list => "reduce_statement_list()", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can very between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/parser/ast/reductions.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | x if x == reduce_declaration => "reduce_declaration()", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can very between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/parser/ast/reductions.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | x if x == reduce_param_spec => "reduce_param_spec()", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can very between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/parser/ast/reductions.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | x if x == reduce_return_statement => "reduce_return_statement()", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can very between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/parser/ast/reductions.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | x if x == reduce_procedure_declaration => "reduce_procedure_declaration()", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can very between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/parser/ast/reductions.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | x if x == reduce_procedure_call => "reduce_procedure_call()", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can very between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `compiler_design` (lib) due to 12 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `return_type` is never read [INFO] [stdout] --> src/evaluation/symbol_table.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | struct Scope { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 8 | pub table: HashMap, [INFO] [stdout] 9 | pub return_type: ProcedureType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/parser/ast/reductions.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | x if x == reduce_value => "reduce_value()", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can very between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: `#[deny(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/parser/ast/reductions.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | x if x == reduce_binary_op => "reduce_binary_op()", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can very between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/parser/ast/reductions.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | x if x == reduce_parenthetical => "reduce_parenthetical()", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can very between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/parser/ast/reductions.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | x if x == reduce_unary_operator => "reduce_unary_operator()", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can very between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/parser/ast/reductions.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | x if x == reduce_program => "reduce_program()", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can very between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/parser/ast/reductions.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | x if x == reduce_statement_list => "reduce_statement_list()", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can very between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/parser/ast/reductions.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | x if x == reduce_declaration => "reduce_declaration()", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can very between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/parser/ast/reductions.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | x if x == reduce_param_spec => "reduce_param_spec()", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can very between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/parser/ast/reductions.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | x if x == reduce_return_statement => "reduce_return_statement()", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can very between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/parser/ast/reductions.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | x if x == reduce_procedure_declaration => "reduce_procedure_declaration()", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can very between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/parser/ast/reductions.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | x if x == reduce_procedure_call => "reduce_procedure_call()", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can very between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `compiler_design` (lib test) due to 12 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5dd4770df6bd29e6326650d65cd77ee90b5a878cd2c77fe6a6db8ee619c87700", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5dd4770df6bd29e6326650d65cd77ee90b5a878cd2c77fe6a6db8ee619c87700", kill_on_drop: false }` [INFO] [stdout] 5dd4770df6bd29e6326650d65cd77ee90b5a878cd2c77fe6a6db8ee619c87700