[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#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedrogao%2Fplua" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pedrogao/plua on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/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-1-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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 peg v0.8.0 [INFO] [stderr] Downloaded cranelift-native v0.81.1 [INFO] [stderr] Downloaded peg-macros v0.8.0 [INFO] [stderr] Downloaded peg-runtime v0.8.0 [INFO] [stderr] Downloaded cranelift-codegen-shared v0.81.1 [INFO] [stderr] Downloaded cranelift v0.81.1 [INFO] [stderr] Downloaded target-lexicon v0.12.3 [INFO] [stderr] Downloaded cranelift-module v0.81.1 [INFO] [stderr] Downloaded cranelift-jit v0.81.1 [INFO] [stderr] Downloaded cranelift-frontend v0.81.1 [INFO] [stderr] Downloaded cranelift-codegen-meta v0.81.1 [INFO] [stderr] Downloaded regalloc v0.0.34 [INFO] [stderr] Downloaded cranelift-bforest v0.81.1 [INFO] [stderr] Downloaded cranelift-entity v0.81.1 [INFO] [stderr] Downloaded cranelift-codegen v0.81.1 [INFO] [stderr] Downloaded dynasm v1.2.1 [INFO] [stderr] Downloaded dynasmrt v1.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d311acee1821d9054d448dcb878e9d6ca9b189b9c3699c9cdfef540a9e1ea60c [INFO] running `Command { std: "docker" "start" "-a" "d311acee1821d9054d448dcb878e9d6ca9b189b9c3699c9cdfef540a9e1ea60c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d311acee1821d9054d448dcb878e9d6ca9b189b9c3699c9cdfef540a9e1ea60c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d311acee1821d9054d448dcb878e9d6ca9b189b9c3699c9cdfef540a9e1ea60c", kill_on_drop: false }` [INFO] [stdout] d311acee1821d9054d448dcb878e9d6ca9b189b9c3699c9cdfef540a9e1ea60c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f3c7187829c630edd63130f92a3508a0af23ac5a3c277085b004c0eb52c5078 [INFO] running `Command { std: "docker" "start" "-a" "8f3c7187829c630edd63130f92a3508a0af23ac5a3c277085b004c0eb52c5078", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.author [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling cranelift-codegen-shared v0.81.1 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling target-lexicon v0.12.3 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling cranelift-codegen-meta v0.81.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking cranelift-entity v0.81.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking cranelift-bforest v0.81.1 [INFO] [stderr] Checking regalloc v0.0.34 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Compiling anyhow v1.0.55 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling substring v1.4.5 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling peg-runtime v0.8.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling peg-macros v0.8.0 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking memmap2 v0.5.3 [INFO] [stderr] Checking region v2.2.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 toml v0.5.8 [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 cranelift-frontend v0.81.1 [INFO] [stderr] Checking cranelift-native v0.81.1 [INFO] [stderr] Checking cranelift-module v0.81.1 [INFO] [stderr] Checking num_enum v0.5.6 [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 (/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/385fa9d845dd326c6bbfd58c22244215e431948a/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/385fa9d845dd326c6bbfd58c22244215e431948a/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: 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] 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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.24s [INFO] running `Command { std: "docker" "inspect" "8f3c7187829c630edd63130f92a3508a0af23ac5a3c277085b004c0eb52c5078", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f3c7187829c630edd63130f92a3508a0af23ac5a3c277085b004c0eb52c5078", kill_on_drop: false }` [INFO] [stdout] 8f3c7187829c630edd63130f92a3508a0af23ac5a3c277085b004c0eb52c5078 [INFO] checking pedrogao/plua against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedrogao%2Fplua" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pedrogao/plua on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/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-1-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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e708f09195a04d8a1c490004ae3931cc3861e92e00c921bbffad9a9bf659f68e [INFO] running `Command { std: "docker" "start" "-a" "e708f09195a04d8a1c490004ae3931cc3861e92e00c921bbffad9a9bf659f68e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e708f09195a04d8a1c490004ae3931cc3861e92e00c921bbffad9a9bf659f68e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e708f09195a04d8a1c490004ae3931cc3861e92e00c921bbffad9a9bf659f68e", kill_on_drop: false }` [INFO] [stdout] e708f09195a04d8a1c490004ae3931cc3861e92e00c921bbffad9a9bf659f68e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19c3f3a2e5331f53469f68374edb5181d74f0ba915f8ff00dd1d53523b562178 [INFO] running `Command { std: "docker" "start" "-a" "19c3f3a2e5331f53469f68374edb5181d74f0ba915f8ff00dd1d53523b562178", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.author [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling cranelift-codegen-shared v0.81.1 [INFO] [stderr] Compiling target-lexicon v0.12.3 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling cranelift-codegen-meta v0.81.1 [INFO] [stderr] Checking cranelift-entity v0.81.1 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking cranelift-bforest v0.81.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking regalloc v0.0.34 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling anyhow v1.0.55 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling substring v1.4.5 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling peg-runtime v0.8.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking region v2.2.0 [INFO] [stderr] Checking memmap2 v0.5.3 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling peg-macros v0.8.0 [INFO] [stderr] Checking clap v2.34.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 toml v0.5.8 [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-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 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/645bb72776a6a56a1a8f52631a44bd082b2ba509/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: 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/645bb72776a6a56a1a8f52631a44bd082b2ba509/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: 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: 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.63s [INFO] running `Command { std: "docker" "inspect" "19c3f3a2e5331f53469f68374edb5181d74f0ba915f8ff00dd1d53523b562178", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19c3f3a2e5331f53469f68374edb5181d74f0ba915f8ff00dd1d53523b562178", kill_on_drop: false }` [INFO] [stdout] 19c3f3a2e5331f53469f68374edb5181d74f0ba915f8ff00dd1d53523b562178