[INFO] cloning repository https://github.com/JoshuaRadin37/jodin-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JoshuaRadin37/jodin-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoshuaRadin37%2Fjodin-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoshuaRadin37%2Fjodin-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8bb89e1b5507ec426229c21530c0d91a4a7042d1 [INFO] checking JoshuaRadin37/jodin-rs against try#39e1293fce4b650061e85dda88aa428f726a8444 for pr-88041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoshuaRadin37%2Fjodin-rs" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JoshuaRadin37/jodin-rs on toolchain 39e1293fce4b650061e85dda88aa428f726a8444 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JoshuaRadin37/jodin-rs [INFO] finished tweaking git repo https://github.com/JoshuaRadin37/jodin-rs [INFO] tweaked toml for git repo https://github.com/JoshuaRadin37/jodin-rs written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/JoshuaRadin37/jodin-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d72076c0ee1f7abd4f6664bad66796b3483f35df6efb20edf854c7e88862a5e8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d72076c0ee1f7abd4f6664bad66796b3483f35df6efb20edf854c7e88862a5e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d72076c0ee1f7abd4f6664bad66796b3483f35df6efb20edf854c7e88862a5e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d72076c0ee1f7abd4f6664bad66796b3483f35df6efb20edf854c7e88862a5e8", kill_on_drop: false }` [INFO] [stdout] d72076c0ee1f7abd4f6664bad66796b3483f35df6efb20edf854c7e88862a5e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6b250dd3861bc377c8205404011d32fb44d316cfa3df2f7ff4dcd8416ee0bbe3 [INFO] running `Command { std: "docker" "start" "-a" "6b250dd3861bc377c8205404011d32fb44d316cfa3df2f7ff4dcd8416ee0bbe3", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking object v0.26.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking jodin-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `VA_LIST` should have an upper camel case name [INFO] [stdout] --> src/core/types/primitives.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | VA_LIST, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `VaList` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `VA_LIST` should have an upper camel case name [INFO] [stdout] --> src/core/types/primitives.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | VA_LIST, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `VaList` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/compilation/c_compiler/components.rs:261:21 [INFO] [stdout] | [INFO] [stdout] 260 | todo!("Need to have expression compiler created first"); [INFO] [stdout] | -------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 261 | / ret = CType { [INFO] [stdout] 262 | | is_const, [INFO] [stdout] 263 | | specifier, [INFO] [stdout] 264 | | declarator, [INFO] [stdout] 265 | | }; [INFO] [stdout] | |______________________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/compilation/c_compiler/components.rs:337:14 [INFO] [stdout] | [INFO] [stdout] 337 | .intersperse(vec!['_']) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `itertools::Itertools::intersperse(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(iter_intersperse)]` to the crate attributes to enable `std::iter::Iterator::intersperse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/compilation/c_compiler/components.rs:261:21 [INFO] [stdout] | [INFO] [stdout] 260 | todo!("Need to have expression compiler created first"); [INFO] [stdout] | -------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 261 | / ret = CType { [INFO] [stdout] 262 | | is_const, [INFO] [stdout] 263 | | specifier, [INFO] [stdout] 264 | | declarator, [INFO] [stdout] 265 | | }; [INFO] [stdout] | |______________________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/compilation/c_compiler/components.rs:337:14 [INFO] [stdout] | [INFO] [stdout] 337 | .intersperse(vec!['_']) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `itertools::Itertools::intersperse(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(iter_intersperse)]` to the crate attributes to enable `std::iter::Iterator::intersperse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::identifier::Identifier::from_array`: No longer necessary, as arrays not directly implement IntoIterator [INFO] [stdout] --> src/core/import.rs:131:45 [INFO] [stdout] | [INFO] [stdout] 131 | ... Identifier::from_array(["a", "b"]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ast/mod.rs:500:21 [INFO] [stdout] | [INFO] [stdout] 500 | _ => unreachable!(), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ast/mod.rs:500:21 [INFO] [stdout] | [INFO] [stdout] 500 | _ => unreachable!(), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `node_type` is never read [INFO] [stdout] --> src/ast/jodin_node.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | node_type = node_type[..node_type.find(" ").unwrap()].to_string(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `var_type` [INFO] [stdout] --> src/ast/node_type.rs:274:17 [INFO] [stdout] | [INFO] [stdout] 274 | var_type, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `var_type: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `var_type` [INFO] [stdout] --> src/ast/node_type.rs:461:17 [INFO] [stdout] | [INFO] [stdout] 461 | var_type, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `var_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generic_parameters` [INFO] [stdout] --> src/compilation/c_compiler/function_compiler.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | generic_parameters, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `generic_parameters: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/compilation/c_compiler/top_level_declaration_compiler.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | other => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/compilation/c_compiler/components.rs:259:38 [INFO] [stdout] | [INFO] [stdout] 259 | TypeTail::Array(Some(size)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/compilation/c_compiler/components.rs:301:32 [INFO] [stdout] | [INFO] [stdout] 301 | fn compile(self, context: &Context, w: &mut PaddedWriter) -> JodinResult<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/compilation/c_compiler/components.rs:396:37 [INFO] [stdout] | [INFO] [stdout] 396 | fn declaration(&self, context: &Context, w: &mut PaddedWriter) -> JodinResult<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/compilation/c_compiler/components.rs:401:35 [INFO] [stdout] | [INFO] [stdout] 401 | fn definition(self, context: &Context, w: &mut PaddedWriter) -> JodinResult<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/compilation/c_compiler/components.rs:440:37 [INFO] [stdout] | [INFO] [stdout] 440 | fn declaration(&self, context: &Context, w: &mut PaddedWriter) -> JodinResult<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current` [INFO] [stdout] --> src/core/identifier_resolution.rs:364:21 [INFO] [stdout] | [INFO] [stdout] 364 | if let Some(current) = current_namespace { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/core/operator.rs:247:23 [INFO] [stdout] | [INFO] [stdout] 247 | .map_err(|e| JodinErrorType::IncorrectLiteralType)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/core/operator.rs:268:31 [INFO] [stdout] | [INFO] [stdout] 268 | .map_err(|e| JodinErrorType::IncorrectLiteralType.into()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/core/operator.rs:274:31 [INFO] [stdout] | [INFO] [stdout] 274 | .map_err(|e| JodinErrorType::IncorrectLiteralType.into()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/core/operator.rs:280:30 [INFO] [stdout] | [INFO] [stdout] 280 | fn evaluate_uniop(&self, lhs: N) -> JodinResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/core/operator.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | lhs: char, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/core/operator.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | rhs: R, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/core/operator.rs:294:30 [INFO] [stdout] | [INFO] [stdout] 294 | fn evaluate_uniop(&self, lhs: char) -> JodinResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/core/operator.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 302 | lhs: f32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/core/operator.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | rhs: R, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/core/operator.rs:308:30 [INFO] [stdout] | [INFO] [stdout] 308 | fn evaluate_uniop(&self, lhs: f32) -> JodinResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/core/operator.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 316 | lhs: f64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/core/operator.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 317 | rhs: R, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/core/operator.rs:322:30 [INFO] [stdout] | [INFO] [stdout] 322 | fn evaluate_uniop(&self, lhs: f64) -> JodinResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/core/operator.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | lhs: bool, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/core/operator.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | rhs: R, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/core/operator.rs:336:30 [INFO] [stdout] | [INFO] [stdout] 336 | fn evaluate_uniop(&self, lhs: bool) -> JodinResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id_resolver` [INFO] [stdout] --> src/passes/analysis/mod.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | let (tree, id_resolver) = identifier_tool.resolve_identities(tree)?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_id_resolver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `node_type` is never read [INFO] [stdout] --> src/ast/jodin_node.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | node_type = node_type[..node_type.find(" ").unwrap()].to_string(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `var_type` [INFO] [stdout] --> src/ast/node_type.rs:274:17 [INFO] [stdout] | [INFO] [stdout] 274 | var_type, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `var_type: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `var_type` [INFO] [stdout] --> src/ast/node_type.rs:461:17 [INFO] [stdout] | [INFO] [stdout] 461 | var_type, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `var_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generic_parameters` [INFO] [stdout] --> src/compilation/c_compiler/function_compiler.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | generic_parameters, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `generic_parameters: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/compilation/c_compiler/top_level_declaration_compiler.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | other => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/compilation/c_compiler/components.rs:259:38 [INFO] [stdout] | [INFO] [stdout] 259 | TypeTail::Array(Some(size)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/compilation/c_compiler/components.rs:301:32 [INFO] [stdout] | [INFO] [stdout] 301 | fn compile(self, context: &Context, w: &mut PaddedWriter) -> JodinResult<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/compilation/c_compiler/components.rs:396:37 [INFO] [stdout] | [INFO] [stdout] 396 | fn declaration(&self, context: &Context, w: &mut PaddedWriter) -> JodinResult<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/compilation/c_compiler/components.rs:401:35 [INFO] [stdout] | [INFO] [stdout] 401 | fn definition(self, context: &Context, w: &mut PaddedWriter) -> JodinResult<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/compilation/c_compiler/components.rs:440:37 [INFO] [stdout] | [INFO] [stdout] 440 | fn declaration(&self, context: &Context, w: &mut PaddedWriter) -> JodinResult<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current` [INFO] [stdout] --> src/core/identifier_resolution.rs:364:21 [INFO] [stdout] | [INFO] [stdout] 364 | if let Some(current) = current_namespace { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/core/operator.rs:247:23 [INFO] [stdout] | [INFO] [stdout] 247 | .map_err(|e| JodinErrorType::IncorrectLiteralType)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/core/operator.rs:268:31 [INFO] [stdout] | [INFO] [stdout] 268 | .map_err(|e| JodinErrorType::IncorrectLiteralType.into()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/core/operator.rs:274:31 [INFO] [stdout] | [INFO] [stdout] 274 | .map_err(|e| JodinErrorType::IncorrectLiteralType.into()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/core/operator.rs:280:30 [INFO] [stdout] | [INFO] [stdout] 280 | fn evaluate_uniop(&self, lhs: N) -> JodinResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/core/operator.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | lhs: char, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/core/operator.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | rhs: R, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/core/operator.rs:294:30 [INFO] [stdout] | [INFO] [stdout] 294 | fn evaluate_uniop(&self, lhs: char) -> JodinResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/core/operator.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 302 | lhs: f32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/core/operator.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | rhs: R, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/core/operator.rs:308:30 [INFO] [stdout] | [INFO] [stdout] 308 | fn evaluate_uniop(&self, lhs: f32) -> JodinResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/core/operator.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 316 | lhs: f64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/core/operator.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 317 | rhs: R, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/core/operator.rs:322:30 [INFO] [stdout] | [INFO] [stdout] 322 | fn evaluate_uniop(&self, lhs: f64) -> JodinResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/core/operator.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | lhs: bool, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/core/operator.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | rhs: R, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/core/operator.rs:336:30 [INFO] [stdout] | [INFO] [stdout] 336 | fn evaluate_uniop(&self, lhs: bool) -> JodinResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id_resolver` [INFO] [stdout] --> src/passes/analysis/mod.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | let (tree, id_resolver) = identifier_tool.resolve_identities(tree)?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_id_resolver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `this` [INFO] [stdout] --> src/compilation/c_compiler/function_compiler.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | this: &'a CValidIdentifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_related_value` [INFO] [stdout] --> src/core/identifier_resolution.rs:264:8 [INFO] [stdout] | [INFO] [stdout] 264 | fn add_related_value(&mut self, related: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `top_namespaces` [INFO] [stdout] --> src/core/identifier_resolution.rs:305:8 [INFO] [stdout] | [INFO] [stdout] 305 | fn top_namespaces(&self) -> &Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `types` [INFO] [stdout] --> src/core/types/type_environment.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | types: HashMap [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_first_tag` [INFO] [stdout] --> src/passes/analysis/identity_resolution_tool.rs:384:4 [INFO] [stdout] | [INFO] [stdout] 384 | fn find_first_tag(node: &JodinNode) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `TypeResolutionTool` [INFO] [stdout] --> src/passes/analysis/type_resolution_tool.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct TypeResolutionTool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `DependencyTool` [INFO] [stdout] --> src/passes/analysis/dependency_tool.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct DependencyTool; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `this` [INFO] [stdout] --> src/compilation/c_compiler/function_compiler.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | this: &'a CValidIdentifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_related_value` [INFO] [stdout] --> src/core/identifier_resolution.rs:264:8 [INFO] [stdout] | [INFO] [stdout] 264 | fn add_related_value(&mut self, related: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ast/mod.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | name.add_tag(tag.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `top_namespaces` [INFO] [stdout] --> src/core/identifier_resolution.rs:305:8 [INFO] [stdout] | [INFO] [stdout] 305 | fn top_namespaces(&self) -> &Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `types` [INFO] [stdout] --> src/core/types/type_environment.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | types: HashMap [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_first_tag` [INFO] [stdout] --> src/passes/analysis/identity_resolution_tool.rs:384:4 [INFO] [stdout] | [INFO] [stdout] 384 | fn find_first_tag(node: &JodinNode) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `TypeResolutionTool` [INFO] [stdout] --> src/passes/analysis/type_resolution_tool.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct TypeResolutionTool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `DependencyTool` [INFO] [stdout] --> src/passes/analysis/dependency_tool.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct DependencyTool; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ast/jodin_node.rs:297:9 [INFO] [stdout] | [INFO] [stdout] 297 | node.add_tag(DummyTag); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ast/jodin_node.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | node.add_tag(BlockIdentifierTag::new(5)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ast/jodin_node.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | node.add_tag(DummyTag); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `declaration:` in this pattern is redundant [INFO] [stdout] --> src/ast/node_type.rs:433:17 [INFO] [stdout] | [INFO] [stdout] 433 | declaration: declaration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use shorthand field pattern: `declaration` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_shorthand_field_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `declaration:` in this pattern is redundant [INFO] [stdout] --> src/ast/node_type.rs:618:17 [INFO] [stdout] | [INFO] [stdout] 618 | declaration: declaration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use shorthand field pattern: `declaration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/core/identifier_resolution.rs:786:9 [INFO] [stdout] | [INFO] [stdout] 786 | register.insert_with_identifier(3, Identifier::from("best value")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ast/mod.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | name.add_tag(tag.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `declaration:` in this pattern is redundant [INFO] [stdout] --> src/ast/node_type.rs:433:17 [INFO] [stdout] | [INFO] [stdout] 433 | declaration: declaration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use shorthand field pattern: `declaration` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_shorthand_field_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `declaration:` in this pattern is redundant [INFO] [stdout] --> src/ast/node_type.rs:618:17 [INFO] [stdout] | [INFO] [stdout] 618 | declaration: declaration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use shorthand field pattern: `declaration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 47 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/main.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/main.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 21.01s [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6b250dd3861bc377c8205404011d32fb44d316cfa3df2f7ff4dcd8416ee0bbe3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b250dd3861bc377c8205404011d32fb44d316cfa3df2f7ff4dcd8416ee0bbe3", kill_on_drop: false }` [INFO] [stdout] 6b250dd3861bc377c8205404011d32fb44d316cfa3df2f7ff4dcd8416ee0bbe3