[INFO] cloning repository https://github.com/fiveseven-lambda/syscraws [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fiveseven-lambda/syscraws" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffiveseven-lambda%2Fsyscraws", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffiveseven-lambda%2Fsyscraws'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa054208d27e841d681aae290498854034317e18 [INFO] checking fiveseven-lambda/syscraws against try#39605810efb1a0d52f955bfba9e4eec7a01d5deb for pr-153692 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffiveseven-lambda%2Fsyscraws" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/fiveseven-lambda/syscraws [INFO] finished tweaking git repo https://github.com/fiveseven-lambda/syscraws [INFO] tweaked toml for git repo https://github.com/fiveseven-lambda/syscraws written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fiveseven-lambda/syscraws on toolchain 39605810efb1a0d52f955bfba9e4eec7a01d5deb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fiveseven-lambda/syscraws 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" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bbcf4d0fdee19bb42b8ed0018cb2b11f9cd1ced92a41feb95805233e89b80c70 [INFO] running `Command { std: "docker" "start" "-a" "bbcf4d0fdee19bb42b8ed0018cb2b11f9cd1ced92a41feb95805233e89b80c70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bbcf4d0fdee19bb42b8ed0018cb2b11f9cd1ced92a41feb95805233e89b80c70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbcf4d0fdee19bb42b8ed0018cb2b11f9cd1ced92a41feb95805233e89b80c70", kill_on_drop: false }` [INFO] [stdout] bbcf4d0fdee19bb42b8ed0018cb2b11f9cd1ced92a41feb95805233e89b80c70 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a74caa2a7df7c6dd71c5b12291a5d4fb495c2846f10668a8a93602c0bbe5e1d1 [INFO] running `Command { std: "docker" "start" "-a" "a74caa2a7df7c6dd71c5b12291a5d4fb495c2846f10668a8a93602c0bbe5e1d1", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Checking clap_builder v4.5.37 [INFO] [stderr] Compiling syscraws v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling enum-iterator-derive v1.4.0 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Checking enum-iterator v2.1.0 [INFO] [stderr] Checking clap v4.5.37 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/backend/ty.rs:224:23 [INFO] [stdout] | [INFO] [stdout] 224 | fn contains(self: &Rc, var: &RefCell) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #140611 [INFO] [stdout] = note: `#[deny(self_lifetime_elision_not_applicable)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/backend/ty.rs:241:38 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn extract_function_ty(self: &Rc) -> (Option<*const Var>, i32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/backend/ty.rs:224:23 [INFO] [stdout] | [INFO] [stdout] 224 | fn contains(self: &Rc, var: &RefCell) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #140611 [INFO] [stdout] = note: `#[deny(self_lifetime_elision_not_applicable)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/backend/ty.rs:241:38 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn extract_function_ty(self: &Rc) -> (Option<*const Var>, i32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argument_function_use_index` [INFO] [stdout] --> src/backend.rs:128:49 [INFO] [stdout] | [INFO] [stdout] 128 | ir::Expression::FunctionUse(argument_function_use_index) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_argument_function_use_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_ty_pos` [INFO] [stdout] --> src/frontend/context.rs:118:25 [INFO] [stdout] | [INFO] [stdout] 118 | let field_ty_pos = ast_field_ty.pos.clone(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_ty_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/frontend/context.rs:238:37 [INFO] [stdout] | [INFO] [stdout] 237 | ... Ok(parameter_ty) => parameter_tys.push(parameter_ty), [INFO] [stdout] | ---------------- matches all the relevant values [INFO] [stdout] 238 | ... Ok(_) => logger.expected_ty(parameter_pos), [INFO] [stdout] | ^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_ty_pos` [INFO] [stdout] --> src/frontend/context.rs:257:21 [INFO] [stdout] | [INFO] [stdout] 257 | let return_ty_pos = ast_return_ty.pos.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_ty_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extra_tokens_pos` [INFO] [stdout] --> src/frontend/context.rs:373:17 [INFO] [stdout] | [INFO] [stdout] 373 | extra_tokens_pos, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try ignoring the field: `extra_tokens_pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keyword_else_pos` [INFO] [stdout] --> src/frontend/context.rs:438:21 [INFO] [stdout] | [INFO] [stdout] 438 | keyword_else_pos, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try ignoring the field: `keyword_else_pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extra_tokens_pos` [INFO] [stdout] --> src/frontend/context.rs:439:21 [INFO] [stdout] | [INFO] [stdout] 439 | extra_tokens_pos, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try ignoring the field: `extra_tokens_pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extra_tokens_pos` [INFO] [stdout] --> src/frontend/context.rs:445:25 [INFO] [stdout] | [INFO] [stdout] 445 | extra_tokens_pos, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try ignoring the field: `extra_tokens_pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extra_tokens_pos` [INFO] [stdout] --> src/frontend/context.rs:473:17 [INFO] [stdout] | [INFO] [stdout] 473 | extra_tokens_pos, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try ignoring the field: `extra_tokens_pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format` [INFO] [stdout] --> src/frontend/context.rs:621:68 [INFO] [stdout] | [INFO] [stdout] 621 | ast::StringLiteralComponent::PlaceHolder { format, value } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `format: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expression` [INFO] [stdout] --> src/frontend/context.rs:685:52 [INFO] [stdout] | [INFO] [stdout] 685 | ExpressionOrImport::Expression(expression) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `logger` [INFO] [stdout] --> src/frontend/context.rs:828:9 [INFO] [stdout] | [INFO] [stdout] 828 | logger: &mut log::Logger, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/frontend/context.rs:866:13 [INFO] [stdout] | [INFO] [stdout] 866 | pos, [INFO] [stdout] | ^^^ help: try ignoring the field: `pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `logger` [INFO] [stdout] --> src/frontend/context.rs:883:34 [INFO] [stdout] | [INFO] [stdout] 883 | fn get_ty(&self, name: &str, logger: &mut log::Logger) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/frontend/context.rs:894:13 [INFO] [stdout] | [INFO] [stdout] 894 | pos, [INFO] [stdout] | ^^^ help: try ignoring the field: `pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `logger` [INFO] [stdout] --> src/frontend/context.rs:909:38 [INFO] [stdout] | [INFO] [stdout] 909 | fn get_import(&self, name: &str, logger: &mut log::Logger) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index2` [INFO] [stdout] --> src/frontend/parser/token.rs:184:29 [INFO] [stdout] | [INFO] [stdout] 184 | let index2 = iter.index(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_index2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Parameter` is never constructed [INFO] [stdout] --> src/backend/ty.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum Ty { [INFO] [stdout] | -- variant in this enum [INFO] [stdout] 27 | Constructor(ir::TyConstructor), [INFO] [stdout] 28 | Parameter(usize), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_boolean_type` is never used [INFO] [stdout] --> src/ffi.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn get_boolean_type() -> *const Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_size_type` is never used [INFO] [stdout] --> src/ffi.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn get_size_type() -> *const Type; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_string_type` is never used [INFO] [stdout] --> src/ffi.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn get_string_type() -> *const Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Import` is never constructed [INFO] [stdout] --> src/frontend/context.rs:919:5 [INFO] [stdout] | [INFO] [stdout] 917 | enum ExpressionOrImport { [INFO] [stdout] | ------------------ variant in this enum [INFO] [stdout] 918 | Expression(ir::Expression), [INFO] [stdout] 919 | Import(usize), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `AddInteger`, `Field`, and `FieldRef` are never constructed [INFO] [stdout] --> src/ir.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub enum Function { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 49 | AddInteger, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | Field { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | FieldRef { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Rest` is never constructed [INFO] [stdout] --> src/ir.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 104 | pub enum TyListKind { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 107 | Rest, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `expected_lvalue`, `expected_function`, `undefined_variable`, and `undefined_item` are never used [INFO] [stdout] --> src/log.rs:413:12 [INFO] [stdout] | [INFO] [stdout] 235 | impl Logger { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 413 | pub fn expected_lvalue(&mut self, pos: Pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 594 | pub fn expected_function(&mut self, pos: Pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 620 | pub fn undefined_variable(&mut self, pos: Pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 626 | pub fn undefined_item(&mut self, name: &str, pos: Pos, file_index: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/frontend/context.rs:333:17 [INFO] [stdout] | [INFO] [stdout] 333 | / self.translate_expression_or_import( [INFO] [stdout] 334 | | term, [INFO] [stdout] 335 | | false, [INFO] [stdout] 336 | | function_uses, [INFO] [stdout] ... | [INFO] [stdout] 339 | | logger, [INFO] [stdout] 340 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 333 | let _ = self.translate_expression_or_import( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `syscraws` (bin "syscraws") due to 2 previous errors; 26 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `argument_function_use_index` [INFO] [stdout] --> src/backend.rs:128:49 [INFO] [stdout] | [INFO] [stdout] 128 | ir::Expression::FunctionUse(argument_function_use_index) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_argument_function_use_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_ty_pos` [INFO] [stdout] --> src/frontend/context.rs:118:25 [INFO] [stdout] | [INFO] [stdout] 118 | let field_ty_pos = ast_field_ty.pos.clone(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_ty_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/frontend/context.rs:238:37 [INFO] [stdout] | [INFO] [stdout] 237 | ... Ok(parameter_ty) => parameter_tys.push(parameter_ty), [INFO] [stdout] | ---------------- matches all the relevant values [INFO] [stdout] 238 | ... Ok(_) => logger.expected_ty(parameter_pos), [INFO] [stdout] | ^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_ty_pos` [INFO] [stdout] --> src/frontend/context.rs:257:21 [INFO] [stdout] | [INFO] [stdout] 257 | let return_ty_pos = ast_return_ty.pos.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_ty_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extra_tokens_pos` [INFO] [stdout] --> src/frontend/context.rs:373:17 [INFO] [stdout] | [INFO] [stdout] 373 | extra_tokens_pos, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try ignoring the field: `extra_tokens_pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keyword_else_pos` [INFO] [stdout] --> src/frontend/context.rs:438:21 [INFO] [stdout] | [INFO] [stdout] 438 | keyword_else_pos, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try ignoring the field: `keyword_else_pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extra_tokens_pos` [INFO] [stdout] --> src/frontend/context.rs:439:21 [INFO] [stdout] | [INFO] [stdout] 439 | extra_tokens_pos, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try ignoring the field: `extra_tokens_pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extra_tokens_pos` [INFO] [stdout] --> src/frontend/context.rs:445:25 [INFO] [stdout] | [INFO] [stdout] 445 | extra_tokens_pos, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try ignoring the field: `extra_tokens_pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extra_tokens_pos` [INFO] [stdout] --> src/frontend/context.rs:473:17 [INFO] [stdout] | [INFO] [stdout] 473 | extra_tokens_pos, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try ignoring the field: `extra_tokens_pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format` [INFO] [stdout] --> src/frontend/context.rs:621:68 [INFO] [stdout] | [INFO] [stdout] 621 | ast::StringLiteralComponent::PlaceHolder { format, value } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `format: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expression` [INFO] [stdout] --> src/frontend/context.rs:685:52 [INFO] [stdout] | [INFO] [stdout] 685 | ExpressionOrImport::Expression(expression) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `logger` [INFO] [stdout] --> src/frontend/context.rs:828:9 [INFO] [stdout] | [INFO] [stdout] 828 | logger: &mut log::Logger, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/frontend/context.rs:866:13 [INFO] [stdout] | [INFO] [stdout] 866 | pos, [INFO] [stdout] | ^^^ help: try ignoring the field: `pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `logger` [INFO] [stdout] --> src/frontend/context.rs:883:34 [INFO] [stdout] | [INFO] [stdout] 883 | fn get_ty(&self, name: &str, logger: &mut log::Logger) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/frontend/context.rs:894:13 [INFO] [stdout] | [INFO] [stdout] 894 | pos, [INFO] [stdout] | ^^^ help: try ignoring the field: `pos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `logger` [INFO] [stdout] --> src/frontend/context.rs:909:38 [INFO] [stdout] | [INFO] [stdout] 909 | fn get_import(&self, name: &str, logger: &mut log::Logger) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index2` [INFO] [stdout] --> src/frontend/parser/token.rs:184:29 [INFO] [stdout] | [INFO] [stdout] 184 | let index2 = iter.index(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_index2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Parameter` is never constructed [INFO] [stdout] --> src/backend/ty.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum Ty { [INFO] [stdout] | -- variant in this enum [INFO] [stdout] 27 | Constructor(ir::TyConstructor), [INFO] [stdout] 28 | Parameter(usize), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_boolean_type` is never used [INFO] [stdout] --> src/ffi.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn get_boolean_type() -> *const Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_size_type` is never used [INFO] [stdout] --> src/ffi.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn get_size_type() -> *const Type; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_string_type` is never used [INFO] [stdout] --> src/ffi.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn get_string_type() -> *const Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Import` is never constructed [INFO] [stdout] --> src/frontend/context.rs:919:5 [INFO] [stdout] | [INFO] [stdout] 917 | enum ExpressionOrImport { [INFO] [stdout] | ------------------ variant in this enum [INFO] [stdout] 918 | Expression(ir::Expression), [INFO] [stdout] 919 | Import(usize), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `AddInteger`, `Field`, and `FieldRef` are never constructed [INFO] [stdout] --> src/ir.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub enum Function { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 49 | AddInteger, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | Field { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | FieldRef { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Rest` is never constructed [INFO] [stdout] --> src/ir.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 104 | pub enum TyListKind { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 107 | Rest, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `expected_lvalue`, `expected_function`, `undefined_variable`, and `undefined_item` are never used [INFO] [stdout] --> src/log.rs:413:12 [INFO] [stdout] | [INFO] [stdout] 235 | impl Logger { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 413 | pub fn expected_lvalue(&mut self, pos: Pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 594 | pub fn expected_function(&mut self, pos: Pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 620 | pub fn undefined_variable(&mut self, pos: Pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 626 | pub fn undefined_item(&mut self, name: &str, pos: Pos, file_index: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/frontend/context.rs:333:17 [INFO] [stdout] | [INFO] [stdout] 333 | / self.translate_expression_or_import( [INFO] [stdout] 334 | | term, [INFO] [stdout] 335 | | false, [INFO] [stdout] 336 | | function_uses, [INFO] [stdout] ... | [INFO] [stdout] 339 | | logger, [INFO] [stdout] 340 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 333 | let _ = self.translate_expression_or_import( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `syscraws` (bin "syscraws" test) due to 2 previous errors; 26 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a74caa2a7df7c6dd71c5b12291a5d4fb495c2846f10668a8a93602c0bbe5e1d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a74caa2a7df7c6dd71c5b12291a5d4fb495c2846f10668a8a93602c0bbe5e1d1", kill_on_drop: false }` [INFO] [stdout] a74caa2a7df7c6dd71c5b12291a5d4fb495c2846f10668a8a93602c0bbe5e1d1