[INFO] cloning repository https://github.com/pedrogao/plua [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pedrogao/plua" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedrogao%2Fplua", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedrogao%2Fplua'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 91302f7ca2ee76e379adf0cfd41dbcdd8eff10eb [INFO] checking pedrogao/plua against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedrogao%2Fplua" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pedrogao/plua on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pedrogao/plua [INFO] finished tweaking git repo https://github.com/pedrogao/plua [INFO] tweaked toml for git repo https://github.com/pedrogao/plua written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/pedrogao/plua 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.author [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded substring v1.4.5 [INFO] [stderr] Downloaded dynasm v1.2.1 [INFO] [stderr] Downloaded peg-runtime v0.8.0 [INFO] [stderr] Downloaded cranelift-codegen-shared v0.81.1 [INFO] [stderr] Downloaded cranelift-native v0.81.1 [INFO] [stderr] Downloaded peg v0.8.0 [INFO] [stderr] Downloaded cranelift-jit v0.81.1 [INFO] [stderr] Downloaded cranelift-module v0.81.1 [INFO] [stderr] Downloaded cranelift-bforest v0.81.1 [INFO] [stderr] Downloaded cranelift-entity v0.81.1 [INFO] [stderr] Downloaded memmap2 v0.5.3 [INFO] [stderr] Downloaded cranelift-frontend v0.81.1 [INFO] [stderr] Downloaded cranelift-codegen-meta v0.81.1 [INFO] [stderr] Downloaded target-lexicon v0.12.3 [INFO] [stderr] Downloaded regalloc v0.0.34 [INFO] [stderr] Downloaded dynasmrt v1.2.1 [INFO] [stderr] Downloaded peg-macros v0.8.0 [INFO] [stderr] Downloaded cranelift-codegen v0.81.1 [INFO] [stderr] Downloaded cranelift v0.81.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e378f2889f2f5237cc7253d2b0e1b4820209a0a368c026aed857fe478a7ac15 [INFO] running `Command { std: "docker" "start" "-a" "5e378f2889f2f5237cc7253d2b0e1b4820209a0a368c026aed857fe478a7ac15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e378f2889f2f5237cc7253d2b0e1b4820209a0a368c026aed857fe478a7ac15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e378f2889f2f5237cc7253d2b0e1b4820209a0a368c026aed857fe478a7ac15", kill_on_drop: false }` [INFO] [stdout] 5e378f2889f2f5237cc7253d2b0e1b4820209a0a368c026aed857fe478a7ac15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc5e0cb406be8828cf1b859c133a5e3eb561304c0f721dd5031f5ab324019e43 [INFO] running `Command { std: "docker" "start" "-a" "fc5e0cb406be8828cf1b859c133a5e3eb561304c0f721dd5031f5ab324019e43", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.author [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling cranelift-codegen-shared v0.81.1 [INFO] [stderr] Compiling target-lexicon v0.12.3 [INFO] [stderr] Checking cranelift-entity v0.81.1 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling anyhow v1.0.55 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling substring v1.4.5 [INFO] [stderr] Compiling peg-runtime v0.8.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling cranelift-codegen-meta v0.81.1 [INFO] [stderr] Checking regalloc v0.0.34 [INFO] [stderr] Checking cranelift-bforest v0.81.1 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking region v2.2.0 [INFO] [stderr] Checking memmap2 v0.5.3 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling peg-macros v0.8.0 [INFO] [stderr] Compiling cranelift-codegen v0.81.1 [INFO] [stderr] Checking peg v0.8.0 [INFO] [stderr] Compiling enum-as-inner v0.6.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling dynasm v1.2.1 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Compiling num_enum_derive v0.5.6 [INFO] [stderr] Checking cranelift-native v0.81.1 [INFO] [stderr] Checking cranelift-module v0.81.1 [INFO] [stderr] Checking cranelift-frontend v0.81.1 [INFO] [stderr] Checking cranelift-jit v0.81.1 [INFO] [stderr] Checking cranelift v0.81.1 [INFO] [stderr] Checking num_enum v0.5.6 [INFO] [stderr] Checking dynasmrt v1.2.1 [INFO] [stderr] Checking plua v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/bf/compile.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/bf/compile.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/bf/compile.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/vm.rs:113:25 [INFO] [stdout] | [INFO] [stdout] 113 | let name = constant.get(*i).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> src/vm.rs:133:29 [INFO] [stdout] | [INFO] [stdout] 133 | let arg = stack.pop().unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/vm.rs:240:25 [INFO] [stdout] | [INFO] [stdout] 240 | let name = constant.get(*i).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg_count` [INFO] [stdout] --> src/vm.rs:253:32 [INFO] [stdout] | [INFO] [stdout] 253 | ByteCode::Call(arg_count) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arg_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_func` [INFO] [stdout] --> src/vm.rs:264:25 [INFO] [stdout] | [INFO] [stdout] 264 | let next_func = self [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg_count` [INFO] [stdout] --> src/vm.rs:184:46 [INFO] [stdout] | [INFO] [stdout] 184 | fn eval_func(&mut self, func: &Function, arg_count: usize) -> Value { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arg_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `module` is never read [INFO] [stdout] --> src/jit/mod.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 121 | struct FunctionTranslator<'a> { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 125 | module: &'a mut JITModule, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `translate_icmp` is never used [INFO] [stdout] --> src/jit/mod.rs:227:8 [INFO] [stdout] | [INFO] [stdout] 128 | impl<'a> FunctionTranslator<'a> { [INFO] [stdout] | ------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 227 | fn translate_icmp(&mut self, cmp: IntCC, lhs: &Expr, rhs: &Expr) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `current_frame` is never read [INFO] [stdout] --> src/vm.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct VM { [INFO] [stdout] | -- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | current_frame: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VM` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sp`, `ip`, and `locals` are never read [INFO] [stdout] --> src/vm.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Frame { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 17 | sp: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 18 | ip: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 19 | locals: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Frame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `eval_func` and `current_frame` are never used [INFO] [stdout] --> src/vm.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 32 | impl VM { [INFO] [stdout] | ------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 184 | fn eval_func(&mut self, func: &Function, arg_count: usize) -> Value { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | fn current_frame(&mut self) -> &mut Frame { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/vm.rs:113:25 [INFO] [stdout] | [INFO] [stdout] 113 | let name = constant.get(*i).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> src/vm.rs:133:29 [INFO] [stdout] | [INFO] [stdout] 133 | let arg = stack.pop().unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/vm.rs:240:25 [INFO] [stdout] | [INFO] [stdout] 240 | let name = constant.get(*i).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg_count` [INFO] [stdout] --> src/vm.rs:253:32 [INFO] [stdout] | [INFO] [stdout] 253 | ByteCode::Call(arg_count) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arg_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_func` [INFO] [stdout] --> src/vm.rs:264:25 [INFO] [stdout] | [INFO] [stdout] 264 | let next_func = self [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg_count` [INFO] [stdout] --> src/vm.rs:184:46 [INFO] [stdout] | [INFO] [stdout] 184 | fn eval_func(&mut self, func: &Function, arg_count: usize) -> Value { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arg_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `settings` is imported redundantly [INFO] [stdout] --> examples/cranel.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 3 | use cranelift::prelude::*; [INFO] [stdout] | --------------------- the item `settings` is already imported here [INFO] [stdout] 4 | use cranelift_codegen::settings::{self, Configurable}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Configurable` is imported redundantly [INFO] [stdout] --> examples/cranel.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 3 | use cranelift::prelude::*; [INFO] [stdout] | --------------------- the item `Configurable` is already imported here [INFO] [stdout] 4 | use cranelift_codegen::settings::{self, Configurable}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `module` is never read [INFO] [stdout] --> src/jit/mod.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 121 | struct FunctionTranslator<'a> { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 125 | module: &'a mut JITModule, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `translate_icmp` is never used [INFO] [stdout] --> src/jit/mod.rs:227:8 [INFO] [stdout] | [INFO] [stdout] 128 | impl<'a> FunctionTranslator<'a> { [INFO] [stdout] | ------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 227 | fn translate_icmp(&mut self, cmp: IntCC, lhs: &Expr, rhs: &Expr) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `current_frame` is never read [INFO] [stdout] --> src/vm.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct VM { [INFO] [stdout] | -- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | current_frame: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VM` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sp`, `ip`, and `locals` are never read [INFO] [stdout] --> src/vm.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Frame { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 17 | sp: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 18 | ip: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 19 | locals: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Frame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `eval_func` and `current_frame` are never used [INFO] [stdout] --> src/vm.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 32 | impl VM { [INFO] [stdout] | ------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 184 | fn eval_func(&mut self, func: &Function, arg_count: usize) -> Value { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | fn current_frame(&mut self) -> &mut Frame { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.00s [INFO] running `Command { std: "docker" "inspect" "fc5e0cb406be8828cf1b859c133a5e3eb561304c0f721dd5031f5ab324019e43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc5e0cb406be8828cf1b859c133a5e3eb561304c0f721dd5031f5ab324019e43", kill_on_drop: false }` [INFO] [stdout] fc5e0cb406be8828cf1b859c133a5e3eb561304c0f721dd5031f5ab324019e43 [INFO] checking pedrogao/plua against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedrogao%2Fplua" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pedrogao/plua on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pedrogao/plua [INFO] finished tweaking git repo https://github.com/pedrogao/plua [INFO] tweaked toml for git repo https://github.com/pedrogao/plua written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/pedrogao/plua 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.author [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac27fa0f3bc26623a52b48a4a4d05af79cfcaf08a06bcfdfab2f9ecb13a023f9 [INFO] running `Command { std: "docker" "start" "-a" "ac27fa0f3bc26623a52b48a4a4d05af79cfcaf08a06bcfdfab2f9ecb13a023f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac27fa0f3bc26623a52b48a4a4d05af79cfcaf08a06bcfdfab2f9ecb13a023f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac27fa0f3bc26623a52b48a4a4d05af79cfcaf08a06bcfdfab2f9ecb13a023f9", kill_on_drop: false }` [INFO] [stdout] ac27fa0f3bc26623a52b48a4a4d05af79cfcaf08a06bcfdfab2f9ecb13a023f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 418f28e9232c11751fc6a5b9048d8544b605f4e6b06126ce7b2d7936af69f29f [INFO] running `Command { std: "docker" "start" "-a" "418f28e9232c11751fc6a5b9048d8544b605f4e6b06126ce7b2d7936af69f29f", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] warning: unused manifest key: package.author [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling cranelift-codegen-shared v0.81.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling target-lexicon v0.12.3 [INFO] [stderr] Checking cranelift-entity v0.81.1 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling anyhow v1.0.55 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling substring v1.4.5 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling peg-runtime v0.8.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling cranelift-codegen-meta v0.81.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking cranelift-bforest v0.81.1 [INFO] [stderr] Checking regalloc v0.0.34 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking region v2.2.0 [INFO] [stderr] Checking memmap2 v0.5.3 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling peg-macros v0.8.0 [INFO] [stderr] Compiling cranelift-codegen v0.81.1 [INFO] [stderr] Checking peg v0.8.0 [INFO] [stderr] Compiling enum-as-inner v0.6.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling dynasm v1.2.1 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Compiling num_enum_derive v0.5.6 [INFO] [stderr] Checking num_enum v0.5.6 [INFO] [stderr] Checking cranelift-native v0.81.1 [INFO] [stderr] Checking cranelift-frontend v0.81.1 [INFO] [stderr] Checking cranelift-module v0.81.1 [INFO] [stderr] Checking cranelift-jit v0.81.1 [INFO] [stderr] Checking cranelift v0.81.1 [INFO] [stderr] Checking dynasmrt v1.2.1 [INFO] [stderr] Checking plua v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/bf/vm.rs (2 fixes) [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/bf/compile.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/vm.rs:113:25 [INFO] [stdout] | [INFO] [stdout] 113 | let name = constant.get(*i).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> src/vm.rs:133:29 [INFO] [stdout] | [INFO] [stdout] 133 | let arg = stack.pop().unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/vm.rs:240:25 [INFO] [stdout] | [INFO] [stdout] 240 | let name = constant.get(*i).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg_count` [INFO] [stdout] --> src/vm.rs:253:32 [INFO] [stdout] | [INFO] [stdout] 253 | ByteCode::Call(arg_count) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arg_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_func` [INFO] [stdout] --> src/vm.rs:264:25 [INFO] [stdout] | [INFO] [stdout] 264 | let next_func = self [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg_count` [INFO] [stdout] --> src/vm.rs:184:46 [INFO] [stdout] | [INFO] [stdout] 184 | fn eval_func(&mut self, func: &Function, arg_count: usize) -> Value { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arg_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `module` is never read [INFO] [stdout] --> src/jit/mod.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 121 | struct FunctionTranslator<'a> { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 125 | module: &'a mut JITModule, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `translate_icmp` is never used [INFO] [stdout] --> src/jit/mod.rs:227:8 [INFO] [stdout] | [INFO] [stdout] 128 | impl<'a> FunctionTranslator<'a> { [INFO] [stdout] | ------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 227 | fn translate_icmp(&mut self, cmp: IntCC, lhs: &Expr, rhs: &Expr) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `current_frame` is never read [INFO] [stdout] --> src/vm.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct VM { [INFO] [stdout] | -- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | current_frame: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VM` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sp`, `ip`, and `locals` are never read [INFO] [stdout] --> src/vm.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Frame { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 17 | sp: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 18 | ip: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 19 | locals: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Frame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `eval_func` and `current_frame` are never used [INFO] [stdout] --> src/vm.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 32 | impl VM { [INFO] [stdout] | ------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 184 | fn eval_func(&mut self, func: &Function, arg_count: usize) -> Value { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | fn current_frame(&mut self) -> &mut Frame { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/bf/compile.rs (1 fix) [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/bf/compile.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/vm.rs:113:25 [INFO] [stdout] | [INFO] [stdout] 113 | let name = constant.get(*i).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> src/vm.rs:133:29 [INFO] [stdout] | [INFO] [stdout] 133 | let arg = stack.pop().unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/vm.rs:240:25 [INFO] [stdout] | [INFO] [stdout] 240 | let name = constant.get(*i).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg_count` [INFO] [stdout] --> src/vm.rs:253:32 [INFO] [stdout] | [INFO] [stdout] 253 | ByteCode::Call(arg_count) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arg_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_func` [INFO] [stdout] --> src/vm.rs:264:25 [INFO] [stdout] | [INFO] [stdout] 264 | let next_func = self [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg_count` [INFO] [stdout] --> src/vm.rs:184:46 [INFO] [stdout] | [INFO] [stdout] 184 | fn eval_func(&mut self, func: &Function, arg_count: usize) -> Value { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arg_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `module` is never read [INFO] [stdout] --> src/jit/mod.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 121 | struct FunctionTranslator<'a> { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 125 | module: &'a mut JITModule, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `translate_icmp` is never used [INFO] [stdout] --> src/jit/mod.rs:227:8 [INFO] [stdout] | [INFO] [stdout] 128 | impl<'a> FunctionTranslator<'a> { [INFO] [stdout] | ------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 227 | fn translate_icmp(&mut self, cmp: IntCC, lhs: &Expr, rhs: &Expr) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `current_frame` is never read [INFO] [stdout] --> src/vm.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct VM { [INFO] [stdout] | -- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | current_frame: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VM` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sp`, `ip`, and `locals` are never read [INFO] [stdout] --> src/vm.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Frame { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 17 | sp: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 18 | ip: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 19 | locals: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Frame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `eval_func` and `current_frame` are never used [INFO] [stdout] --> src/vm.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 32 | impl VM { [INFO] [stdout] | ------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 184 | fn eval_func(&mut self, func: &Function, arg_count: usize) -> Value { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | fn current_frame(&mut self) -> &mut Frame { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/cranel.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/dyn.rs from 2021 edition to 2024 [INFO] [stdout] warning: the item `settings` is imported redundantly [INFO] [stdout] --> examples/cranel.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 3 | use cranelift::prelude::*; [INFO] [stdout] | --------------------- the item `settings` is already imported here [INFO] [stdout] 4 | use cranelift_codegen::settings::{self, Configurable}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Configurable` is imported redundantly [INFO] [stdout] --> examples/cranel.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 3 | use cranelift::prelude::*; [INFO] [stdout] | --------------------- the item `Configurable` is already imported here [INFO] [stdout] 4 | use cranelift_codegen::settings::{self, Configurable}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed examples/dyn.rs (1 fix) [INFO] [stderr] Migrating src/bin/toy.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/bin/toy.rs (1 fix) [INFO] [stderr] Migrating src/bin/tinylua.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/bf.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/stackvm.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/jit1.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.81s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] warning: unused manifest key: package.author [INFO] [stderr] Checking plua v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/bf/compile.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `compile` in this scope [INFO] [stdout] --> src/bf/compile.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | compile("+[,.]").unwrap(), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 107 + use cranelift_codegen::timing::compile; [INFO] [stdout] | [INFO] [stdout] 107 + use crate::bf::compile::compile; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BfIR` [INFO] [stdout] --> src/bf/compile.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | BfIR::AddVal(1), [INFO] [stdout] | ^^^^ use of undeclared type `BfIR` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 107 + use crate::bf::ir::BfIR; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BfIR` [INFO] [stdout] --> src/bf/compile.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | BfIR::Jz, [INFO] [stdout] | ^^^^ use of undeclared type `BfIR` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 107 + use crate::bf::ir::BfIR; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BfIR` [INFO] [stdout] --> src/bf/compile.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | BfIR::GetByte, [INFO] [stdout] | ^^^^ use of undeclared type `BfIR` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 107 + use crate::bf::ir::BfIR; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BfIR` [INFO] [stdout] --> src/bf/compile.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | BfIR::PutByte, [INFO] [stdout] | ^^^^ use of undeclared type `BfIR` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 107 + use crate::bf::ir::BfIR; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BfIR` [INFO] [stdout] --> src/bf/compile.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | BfIR::Jnz, [INFO] [stdout] | ^^^^ use of undeclared type `BfIR` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 107 + use crate::bf::ir::BfIR; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `compile` in this scope [INFO] [stdout] --> src/bf/compile.rs:120:15 [INFO] [stdout] | [INFO] [stdout] 120 | match compile("[").unwrap_err().kind { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 107 + use cranelift_codegen::timing::compile; [INFO] [stdout] | [INFO] [stdout] 107 + use crate::bf::compile::compile; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CompileErrorKind` [INFO] [stdout] --> src/bf/compile.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | CompileErrorKind::UnclosedLeftBracket => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `CompileErrorKind` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 107 + use crate::bf::error::CompileErrorKind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `compile` in this scope [INFO] [stdout] --> src/bf/compile.rs:125:15 [INFO] [stdout] | [INFO] [stdout] 125 | match compile("]").unwrap_err().kind { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 107 + use cranelift_codegen::timing::compile; [INFO] [stdout] | [INFO] [stdout] 107 + use crate::bf::compile::compile; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CompileErrorKind` [INFO] [stdout] --> src/bf/compile.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | CompileErrorKind::UnexcpectedRightBracket => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `CompileErrorKind` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 107 + use crate::bf::error::CompileErrorKind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `compile` in this scope [INFO] [stdout] --> src/bf/compile.rs:130:24 [INFO] [stdout] | [INFO] [stdout] 130 | let mut code = compile("[+++++]").unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 107 + use cranelift_codegen::timing::compile; [INFO] [stdout] | [INFO] [stdout] 107 + use crate::bf::compile::compile; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found built-in attribute `optimize` [INFO] [stdout] --> src/bf/compile.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | optimize(&mut code); [INFO] [stdout] | ^^^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 107 + use crate::bf::compile::optimize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BfIR` [INFO] [stdout] --> src/bf/compile.rs:132:31 [INFO] [stdout] | [INFO] [stdout] 132 | assert_eq!(code, vec![BfIR::Jz, BfIR::AddVal(5), BfIR::Jnz]); [INFO] [stdout] | ^^^^ use of undeclared type `BfIR` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 107 + use crate::bf::ir::BfIR; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BfIR` [INFO] [stdout] --> src/bf/compile.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | assert_eq!(code, vec![BfIR::Jz, BfIR::AddVal(5), BfIR::Jnz]); [INFO] [stdout] | ^^^^ use of undeclared type `BfIR` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 107 + use crate::bf::ir::BfIR; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BfIR` [INFO] [stdout] --> src/bf/compile.rs:132:58 [INFO] [stdout] | [INFO] [stdout] 132 | assert_eq!(code, vec![BfIR::Jz, BfIR::AddVal(5), BfIR::Jnz]); [INFO] [stdout] | ^^^^ use of undeclared type `BfIR` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 107 + use crate::bf::ir::BfIR; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/bf/compile.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/vm.rs:113:25 [INFO] [stdout] | [INFO] [stdout] 113 | let name = constant.get(*i).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> src/vm.rs:133:29 [INFO] [stdout] | [INFO] [stdout] 133 | let arg = stack.pop().unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/vm.rs:240:25 [INFO] [stdout] | [INFO] [stdout] 240 | let name = constant.get(*i).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg_count` [INFO] [stdout] --> src/vm.rs:253:32 [INFO] [stdout] | [INFO] [stdout] 253 | ByteCode::Call(arg_count) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arg_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_func` [INFO] [stdout] --> src/vm.rs:264:25 [INFO] [stdout] | [INFO] [stdout] 264 | let next_func = self [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg_count` [INFO] [stdout] --> src/vm.rs:184:46 [INFO] [stdout] | [INFO] [stdout] 184 | fn eval_func(&mut self, func: &Function, arg_count: usize) -> Value { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arg_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `module` is never read [INFO] [stdout] --> src/jit/mod.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 121 | struct FunctionTranslator<'a> { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 125 | module: &'a mut JITModule, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `translate_icmp` is never used [INFO] [stdout] --> src/jit/mod.rs:227:8 [INFO] [stdout] | [INFO] [stdout] 128 | impl<'a> FunctionTranslator<'a> { [INFO] [stdout] | ------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 227 | fn translate_icmp(&mut self, cmp: IntCC, lhs: &Expr, rhs: &Expr) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `current_frame` is never read [INFO] [stdout] --> src/vm.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct VM { [INFO] [stdout] | -- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | current_frame: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VM` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sp`, `ip`, and `locals` are never read [INFO] [stdout] --> src/vm.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Frame { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 17 | sp: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 18 | ip: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 19 | locals: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Frame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `eval_func` and `current_frame` are never used [INFO] [stdout] --> src/vm.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 32 | impl VM { [INFO] [stdout] | ------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 184 | fn eval_func(&mut self, func: &Function, arg_count: usize) -> Value { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | fn current_frame(&mut self) -> &mut Frame { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `settings` is imported redundantly [INFO] [stdout] --> examples/cranel.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 3 | use cranelift::prelude::*; [INFO] [stdout] | --------------------- the item `settings` is already imported here [INFO] [stdout] 4 | use cranelift_codegen::settings::{self, Configurable}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Configurable` is imported redundantly [INFO] [stdout] --> examples/cranel.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 3 | use cranelift::prelude::*; [INFO] [stdout] | --------------------- the item `Configurable` is already imported here [INFO] [stdout] 4 | use cranelift_codegen::settings::{self, Configurable}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/vm.rs:113:25 [INFO] [stdout] | [INFO] [stdout] 113 | let name = constant.get(*i).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> src/vm.rs:133:29 [INFO] [stdout] | [INFO] [stdout] 133 | let arg = stack.pop().unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/vm.rs:240:25 [INFO] [stdout] | [INFO] [stdout] 240 | let name = constant.get(*i).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg_count` [INFO] [stdout] --> src/vm.rs:253:32 [INFO] [stdout] | [INFO] [stdout] 253 | ByteCode::Call(arg_count) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arg_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_func` [INFO] [stdout] --> src/vm.rs:264:25 [INFO] [stdout] | [INFO] [stdout] 264 | let next_func = self [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg_count` [INFO] [stdout] --> src/vm.rs:184:46 [INFO] [stdout] | [INFO] [stdout] 184 | fn eval_func(&mut self, func: &Function, arg_count: usize) -> Value { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arg_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stderr] error: could not compile `plua` (lib test) due to 16 previous errors; 7 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "418f28e9232c11751fc6a5b9048d8544b605f4e6b06126ce7b2d7936af69f29f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "418f28e9232c11751fc6a5b9048d8544b605f4e6b06126ce7b2d7936af69f29f", kill_on_drop: false }` [INFO] [stdout] 418f28e9232c11751fc6a5b9048d8544b605f4e6b06126ce7b2d7936af69f29f