[INFO] cloning repository https://github.com/darilrt/kal-compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/darilrt/kal-compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarilrt%2Fkal-compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarilrt%2Fkal-compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b663c39e025be9cf51ede58c8129523322df6f2e [INFO] checking darilrt/kal-compiler/b663c39e025be9cf51ede58c8129523322df6f2e against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarilrt%2Fkal-compiler" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/darilrt/kal-compiler on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/darilrt/kal-compiler [INFO] finished tweaking git repo https://github.com/darilrt/kal-compiler [INFO] tweaked toml for git repo https://github.com/darilrt/kal-compiler written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/darilrt/kal-compiler 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c782675d11c4d11c61ae1f2f8c862bcf706fea725b9435da6bb6c0ed09cdb8f6 [INFO] running `Command { std: "docker" "start" "-a" "c782675d11c4d11c61ae1f2f8c862bcf706fea725b9435da6bb6c0ed09cdb8f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c782675d11c4d11c61ae1f2f8c862bcf706fea725b9435da6bb6c0ed09cdb8f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c782675d11c4d11c61ae1f2f8c862bcf706fea725b9435da6bb6c0ed09cdb8f6", kill_on_drop: false }` [INFO] [stdout] c782675d11c4d11c61ae1f2f8c862bcf706fea725b9435da6bb6c0ed09cdb8f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c14b0221d61fb5cb3b9c7ed228c2f83ead1214ad5368f24e59b2fc8388472596 [INFO] running `Command { std: "docker" "start" "-a" "c14b0221d61fb5cb3b9c7ed228c2f83ead1214ad5368f24e59b2fc8388472596", kill_on_drop: false }` [INFO] [stderr] Checking kal-compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `module` is never read [INFO] [stdout] --> src/ir/semantical_analizer.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct SemanticalAnalizer { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 13 | module: Arc>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `variables` and `modules` are never read [INFO] [stdout] --> src/ir/symbol_table.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Module { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | variables: HashMap>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | modules: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fields` is never read [INFO] [stdout] --> src/ir/symbol_table.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Type { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 11 | fields: HashMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_variable`, `add_module`, `solve_variable`, and `solve_module` are never used [INFO] [stdout] --> src/ir/symbol_table.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Module { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn add_variable(&mut self, name: &str, t: Type) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn add_module(&mut self, name: &str, m: Module) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn solve_variable(&self, name: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn solve_module(&self, name: &str) -> Option<&Module> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expect` is never used [INFO] [stdout] --> src/parser/parser.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Parser { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn expect(&mut self, lexeme: &str) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `module` is never read [INFO] [stdout] --> src/ir/semantical_analizer.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct SemanticalAnalizer { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 13 | module: Arc>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `variables` and `modules` are never read [INFO] [stdout] --> src/ir/symbol_table.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Module { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | variables: HashMap>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | modules: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fields` is never read [INFO] [stdout] --> src/ir/symbol_table.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Type { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 11 | fields: HashMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_variable`, `add_module`, `solve_variable`, and `solve_module` are never used [INFO] [stdout] --> src/ir/symbol_table.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Module { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn add_variable(&mut self, name: &str, t: Type) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn add_module(&mut self, name: &str, m: Module) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn solve_variable(&self, name: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn solve_module(&self, name: &str) -> Option<&Module> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expect` is never used [INFO] [stdout] --> src/parser/parser.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Parser { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn expect(&mut self, lexeme: &str) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] running `Command { std: "docker" "inspect" "c14b0221d61fb5cb3b9c7ed228c2f83ead1214ad5368f24e59b2fc8388472596", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c14b0221d61fb5cb3b9c7ed228c2f83ead1214ad5368f24e59b2fc8388472596", kill_on_drop: false }` [INFO] [stdout] c14b0221d61fb5cb3b9c7ed228c2f83ead1214ad5368f24e59b2fc8388472596