[INFO] cloning repository https://github.com/Aelto/tw3-cahirc-language [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Aelto/tw3-cahirc-language" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAelto%2Ftw3-cahirc-language", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAelto%2Ftw3-cahirc-language'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6c0ea2a8f90fd0555d042e4cb3ea967e3e5a77d1 [INFO] checking Aelto/tw3-cahirc-language against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAelto%2Ftw3-cahirc-language" "/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/Aelto/tw3-cahirc-language 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/Aelto/tw3-cahirc-language [INFO] finished tweaking git repo https://github.com/Aelto/tw3-cahirc-language [INFO] tweaked toml for git repo https://github.com/Aelto/tw3-cahirc-language written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Aelto/tw3-cahirc-language 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] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustversion v1.0.6 [INFO] [stderr] Downloaded pico-args v0.4.2 [INFO] [stderr] Downloaded string_cache v0.8.4 [INFO] [stderr] Downloaded lalrpop-util v0.19.8 [INFO] [stderr] Downloaded ariadne v0.1.5 [INFO] [stderr] Downloaded lalrpop v0.19.8 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7cd7708f61e7775e371d2503aa9a63fdd42749a2bdc9b4882e589acbbb9bad6c [INFO] running `Command { std: "docker" "start" "-a" "7cd7708f61e7775e371d2503aa9a63fdd42749a2bdc9b4882e589acbbb9bad6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7cd7708f61e7775e371d2503aa9a63fdd42749a2bdc9b4882e589acbbb9bad6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cd7708f61e7775e371d2503aa9a63fdd42749a2bdc9b4882e589acbbb9bad6c", kill_on_drop: false }` [INFO] [stdout] 7cd7708f61e7775e371d2503aa9a63fdd42749a2bdc9b4882e589acbbb9bad6c [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3be73b140e034c4e2da5eda4c997e778ccd25917105100d70a2a5adc114a4686 [INFO] running `Command { std: "docker" "start" "-a" "3be73b140e034c4e2da5eda4c997e778ccd25917105100d70a2a5adc114a4686", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking dunce v1.0.2 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Checking ariadne v0.1.5 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Checking uuid v1.1.2 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling lalrpop-util v0.19.8 [INFO] [stderr] Compiling lalrpop v0.19.8 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Compiling cahirc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `generic_call_visitor::GenericCallsVisitor` [INFO] [stdout] --> src/ast/visitor/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use generic_call_visitor::GenericCallsVisitor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rc` is imported redundantly [INFO] [stdout] --> src/ast/classes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use super::*; [INFO] [stdout] | -------- the item `Rc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> src/ast/classes.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::codegen::context::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | use super::visitor::Visited; [INFO] [stdout] 6 | use super::*; [INFO] [stdout] | -------- the item `Context` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> src/ast/class_instantiation.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Context` is already imported here [INFO] [stdout] 5 | [INFO] [stdout] 6 | use super::codegen::context::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rc` is imported redundantly [INFO] [stdout] --> src/ast/functions.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use super::*; [INFO] [stdout] | -------- the item `Rc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> src/ast/functions.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::codegen::context::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use super::*; [INFO] [stdout] | -------- the item `Context` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rc` is imported redundantly [INFO] [stdout] --> src/ast/for_loops.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Rc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rc` is imported redundantly [INFO] [stdout] --> src/ast/identifiers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use super::*; [INFO] [stdout] | -------- the item `Rc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Span` is imported redundantly [INFO] [stdout] --> src/ast/identifiers.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::span_manager::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use super::visitor::Visited; [INFO] [stdout] 7 | use super::*; [INFO] [stdout] | -------- the item `Span` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rc` is imported redundantly [INFO] [stdout] --> src/ast/expressions.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{borrow::Borrow, rc::Rc}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | *, [INFO] [stdout] | - the item `Rc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> src/ast/function_call.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Context` is already imported here [INFO] [stdout] 4 | [INFO] [stdout] 5 | use super::codegen::context::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MacroConstant` is imported redundantly [INFO] [stdout] --> src/preprocessor/expand_macros.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::preprocessor::MacroConstant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::types::*; [INFO] [stdout] | --------------- the item `MacroConstant` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `generic_call_visitor::GenericCallsVisitor` [INFO] [stdout] --> src/ast/visitor/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use generic_call_visitor::GenericCallsVisitor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rc` is imported redundantly [INFO] [stdout] --> src/ast/classes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use super::*; [INFO] [stdout] | -------- the item `Rc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> src/ast/classes.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::codegen::context::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | use super::visitor::Visited; [INFO] [stdout] 6 | use super::*; [INFO] [stdout] | -------- the item `Context` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> src/ast/class_instantiation.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Context` is already imported here [INFO] [stdout] 5 | [INFO] [stdout] 6 | use super::codegen::context::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rc` is imported redundantly [INFO] [stdout] --> src/ast/functions.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use super::*; [INFO] [stdout] | -------- the item `Rc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> src/ast/functions.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::codegen::context::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use super::*; [INFO] [stdout] | -------- the item `Context` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rc` is imported redundantly [INFO] [stdout] --> src/ast/for_loops.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Rc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rc` is imported redundantly [INFO] [stdout] --> src/ast/identifiers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use super::*; [INFO] [stdout] | -------- the item `Rc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Span` is imported redundantly [INFO] [stdout] --> src/ast/identifiers.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::span_manager::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use super::visitor::Visited; [INFO] [stdout] 7 | use super::*; [INFO] [stdout] | -------- the item `Span` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rc` is imported redundantly [INFO] [stdout] --> src/ast/expressions.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{borrow::Borrow, rc::Rc}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | *, [INFO] [stdout] | - the item `Rc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> src/ast/function_call.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Context` is already imported here [INFO] [stdout] 4 | [INFO] [stdout] 5 | use super::codegen::context::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MacroConstant` is imported redundantly [INFO] [stdout] --> src/preprocessor/expand_macros.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::preprocessor::MacroConstant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::types::*; [INFO] [stdout] | --------------- the item `MacroConstant` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `program_information` is never read [INFO] [stdout] --> src/ast/visitor/generic_call_visitor.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct GenericCallsVisitor<'a> { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 11 | pub program_information: &'a ProgramInformation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `program_information` is never read [INFO] [stdout] --> src/ast/visitor/variable_declaration_visitor.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct VariableDeclarationVisitor<'a> { [INFO] [stdout] | -------------------------- field in this struct [INFO] [stdout] 12 | pub program_information: &'a ProgramInformation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `inference_store`, `report_manager`, and `span_manager` are never read [INFO] [stdout] --> src/ast/visitor/type_inference_visitor.rs:374:7 [INFO] [stdout] | [INFO] [stdout] 372 | pub struct FunctionsInferenceVisitor<'a> { [INFO] [stdout] | ------------------------- fields in this struct [INFO] [stdout] 373 | pub current_context: Rc>, [INFO] [stdout] 374 | pub inference_store: &'a mut TypeInferenceStore, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 375 | pub report_manager: &'a mut ReportManager, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 376 | pub span_manager: &'a mut SpanManager, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inference_store` is never read [INFO] [stdout] --> src/ast/visitor/type_inference_visitor.rs:417:7 [INFO] [stdout] | [INFO] [stdout] 415 | pub struct FunctionsCallsCheckerVisitor<'a> { [INFO] [stdout] | ---------------------------- field in this struct [INFO] [stdout] 416 | pub current_context: Rc>, [INFO] [stdout] 417 | pub inference_store: &'a mut TypeInferenceStore, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/config.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ConfigPackage { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 14 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConfigPackage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `program_information` is never read [INFO] [stdout] --> src/ast/visitor/generic_call_visitor.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct GenericCallsVisitor<'a> { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 11 | pub program_information: &'a ProgramInformation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `program_information` is never read [INFO] [stdout] --> src/ast/visitor/variable_declaration_visitor.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct VariableDeclarationVisitor<'a> { [INFO] [stdout] | -------------------------- field in this struct [INFO] [stdout] 12 | pub program_information: &'a ProgramInformation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `inference_store`, `report_manager`, and `span_manager` are never read [INFO] [stdout] --> src/ast/visitor/type_inference_visitor.rs:374:7 [INFO] [stdout] | [INFO] [stdout] 372 | pub struct FunctionsInferenceVisitor<'a> { [INFO] [stdout] | ------------------------- fields in this struct [INFO] [stdout] 373 | pub current_context: Rc>, [INFO] [stdout] 374 | pub inference_store: &'a mut TypeInferenceStore, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 375 | pub report_manager: &'a mut ReportManager, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 376 | pub span_manager: &'a mut SpanManager, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inference_store` is never read [INFO] [stdout] --> src/ast/visitor/type_inference_visitor.rs:417:7 [INFO] [stdout] | [INFO] [stdout] 415 | pub struct FunctionsCallsCheckerVisitor<'a> { [INFO] [stdout] | ---------------------------- field in this struct [INFO] [stdout] 416 | pub current_context: Rc>, [INFO] [stdout] 417 | pub inference_store: &'a mut TypeInferenceStore, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/config.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ConfigPackage { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 14 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConfigPackage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.45s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lalrpop v0.19.8 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "3be73b140e034c4e2da5eda4c997e778ccd25917105100d70a2a5adc114a4686", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3be73b140e034c4e2da5eda4c997e778ccd25917105100d70a2a5adc114a4686", kill_on_drop: false }` [INFO] [stdout] 3be73b140e034c4e2da5eda4c997e778ccd25917105100d70a2a5adc114a4686 [INFO] checking Aelto/tw3-cahirc-language against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAelto%2Ftw3-cahirc-language" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Aelto/tw3-cahirc-language on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Aelto/tw3-cahirc-language [INFO] finished tweaking git repo https://github.com/Aelto/tw3-cahirc-language [INFO] tweaked toml for git repo https://github.com/Aelto/tw3-cahirc-language written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Aelto/tw3-cahirc-language 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a4665ad8beda106013e88ab62d2e32ec7c69cc2003b2fad047b9aaacd2e9b6c3 [INFO] running `Command { std: "docker" "start" "-a" "a4665ad8beda106013e88ab62d2e32ec7c69cc2003b2fad047b9aaacd2e9b6c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4665ad8beda106013e88ab62d2e32ec7c69cc2003b2fad047b9aaacd2e9b6c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4665ad8beda106013e88ab62d2e32ec7c69cc2003b2fad047b9aaacd2e9b6c3", kill_on_drop: false }` [INFO] [stdout] a4665ad8beda106013e88ab62d2e32ec7c69cc2003b2fad047b9aaacd2e9b6c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b984ee45809d66a662e493c72f40e8484555541a39eec76accc02450adec066d [INFO] running `Command { std: "docker" "start" "-a" "b984ee45809d66a662e493c72f40e8484555541a39eec76accc02450adec066d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking dunce v1.0.2 [INFO] [stderr] Checking ariadne v0.1.5 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking uuid v1.1.2 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling lalrpop-util v0.19.8 [INFO] [stderr] Compiling lalrpop v0.19.8 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Compiling cahirc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `generic_call_visitor::GenericCallsVisitor` [INFO] [stdout] --> src/ast/visitor/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use generic_call_visitor::GenericCallsVisitor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rc` is imported redundantly [INFO] [stdout] --> src/ast/classes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use super::*; [INFO] [stdout] | -------- the item `Rc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> src/ast/classes.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::codegen::context::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | use super::visitor::Visited; [INFO] [stdout] 6 | use super::*; [INFO] [stdout] | -------- the item `Context` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> src/ast/class_instantiation.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Context` is already imported here [INFO] [stdout] 5 | [INFO] [stdout] 6 | use super::codegen::context::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rc` is imported redundantly [INFO] [stdout] --> src/ast/functions.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use super::*; [INFO] [stdout] | -------- the item `Rc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> src/ast/functions.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::codegen::context::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use super::*; [INFO] [stdout] | -------- the item `Context` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rc` is imported redundantly [INFO] [stdout] --> src/ast/for_loops.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Rc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rc` is imported redundantly [INFO] [stdout] --> src/ast/identifiers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use super::*; [INFO] [stdout] | -------- the item `Rc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Span` is imported redundantly [INFO] [stdout] --> src/ast/identifiers.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::span_manager::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use super::visitor::Visited; [INFO] [stdout] 7 | use super::*; [INFO] [stdout] | -------- the item `Span` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rc` is imported redundantly [INFO] [stdout] --> src/ast/expressions.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{borrow::Borrow, rc::Rc}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | *, [INFO] [stdout] | - the item `Rc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> src/ast/function_call.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Context` is already imported here [INFO] [stdout] 4 | [INFO] [stdout] 5 | use super::codegen::context::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MacroConstant` is imported redundantly [INFO] [stdout] --> src/preprocessor/expand_macros.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::preprocessor::MacroConstant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::types::*; [INFO] [stdout] | --------------- the item `MacroConstant` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `generic_call_visitor::GenericCallsVisitor` [INFO] [stdout] --> src/ast/visitor/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use generic_call_visitor::GenericCallsVisitor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rc` is imported redundantly [INFO] [stdout] --> src/ast/classes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use super::*; [INFO] [stdout] | -------- the item `Rc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> src/ast/classes.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::codegen::context::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | use super::visitor::Visited; [INFO] [stdout] 6 | use super::*; [INFO] [stdout] | -------- the item `Context` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> src/ast/class_instantiation.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Context` is already imported here [INFO] [stdout] 5 | [INFO] [stdout] 6 | use super::codegen::context::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rc` is imported redundantly [INFO] [stdout] --> src/ast/functions.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use super::*; [INFO] [stdout] | -------- the item `Rc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> src/ast/functions.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::codegen::context::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use super::*; [INFO] [stdout] | -------- the item `Context` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rc` is imported redundantly [INFO] [stdout] --> src/ast/for_loops.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Rc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rc` is imported redundantly [INFO] [stdout] --> src/ast/identifiers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use super::*; [INFO] [stdout] | -------- the item `Rc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Span` is imported redundantly [INFO] [stdout] --> src/ast/identifiers.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::span_manager::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use super::visitor::Visited; [INFO] [stdout] 7 | use super::*; [INFO] [stdout] | -------- the item `Span` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rc` is imported redundantly [INFO] [stdout] --> src/ast/expressions.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{borrow::Borrow, rc::Rc}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | *, [INFO] [stdout] | - the item `Rc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> src/ast/function_call.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Context` is already imported here [INFO] [stdout] 4 | [INFO] [stdout] 5 | use super::codegen::context::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MacroConstant` is imported redundantly [INFO] [stdout] --> src/preprocessor/expand_macros.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::preprocessor::MacroConstant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::types::*; [INFO] [stdout] | --------------- the item `MacroConstant` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `program_information` is never read [INFO] [stdout] --> src/ast/visitor/generic_call_visitor.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct GenericCallsVisitor<'a> { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 11 | pub program_information: &'a ProgramInformation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `program_information` is never read [INFO] [stdout] --> src/ast/visitor/variable_declaration_visitor.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct VariableDeclarationVisitor<'a> { [INFO] [stdout] | -------------------------- field in this struct [INFO] [stdout] 12 | pub program_information: &'a ProgramInformation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `inference_store`, `report_manager`, and `span_manager` are never read [INFO] [stdout] --> src/ast/visitor/type_inference_visitor.rs:374:7 [INFO] [stdout] | [INFO] [stdout] 372 | pub struct FunctionsInferenceVisitor<'a> { [INFO] [stdout] | ------------------------- fields in this struct [INFO] [stdout] 373 | pub current_context: Rc>, [INFO] [stdout] 374 | pub inference_store: &'a mut TypeInferenceStore, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 375 | pub report_manager: &'a mut ReportManager, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 376 | pub span_manager: &'a mut SpanManager, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inference_store` is never read [INFO] [stdout] --> src/ast/visitor/type_inference_visitor.rs:417:7 [INFO] [stdout] | [INFO] [stdout] 415 | pub struct FunctionsCallsCheckerVisitor<'a> { [INFO] [stdout] | ---------------------------- field in this struct [INFO] [stdout] 416 | pub current_context: Rc>, [INFO] [stdout] 417 | pub inference_store: &'a mut TypeInferenceStore, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/config.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ConfigPackage { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 14 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConfigPackage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `program_information` is never read [INFO] [stdout] --> src/ast/visitor/generic_call_visitor.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct GenericCallsVisitor<'a> { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 11 | pub program_information: &'a ProgramInformation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `program_information` is never read [INFO] [stdout] --> src/ast/visitor/variable_declaration_visitor.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct VariableDeclarationVisitor<'a> { [INFO] [stdout] | -------------------------- field in this struct [INFO] [stdout] 12 | pub program_information: &'a ProgramInformation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `inference_store`, `report_manager`, and `span_manager` are never read [INFO] [stdout] --> src/ast/visitor/type_inference_visitor.rs:374:7 [INFO] [stdout] | [INFO] [stdout] 372 | pub struct FunctionsInferenceVisitor<'a> { [INFO] [stdout] | ------------------------- fields in this struct [INFO] [stdout] 373 | pub current_context: Rc>, [INFO] [stdout] 374 | pub inference_store: &'a mut TypeInferenceStore, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 375 | pub report_manager: &'a mut ReportManager, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 376 | pub span_manager: &'a mut SpanManager, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inference_store` is never read [INFO] [stdout] --> src/ast/visitor/type_inference_visitor.rs:417:7 [INFO] [stdout] | [INFO] [stdout] 415 | pub struct FunctionsCallsCheckerVisitor<'a> { [INFO] [stdout] | ---------------------------- field in this struct [INFO] [stdout] 416 | pub current_context: Rc>, [INFO] [stdout] 417 | pub inference_store: &'a mut TypeInferenceStore, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/config.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ConfigPackage { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 14 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConfigPackage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.15s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lalrpop v0.19.8 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "b984ee45809d66a662e493c72f40e8484555541a39eec76accc02450adec066d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b984ee45809d66a662e493c72f40e8484555541a39eec76accc02450adec066d", kill_on_drop: false }` [INFO] [stdout] b984ee45809d66a662e493c72f40e8484555541a39eec76accc02450adec066d