[INFO] cloning repository https://github.com/Tamiyo/Pineapple [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Tamiyo/Pineapple" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTamiyo%2FPineapple", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTamiyo%2FPineapple'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f702c03ebc29f794d50402f64e6d0be5d180903f [INFO] testing Tamiyo/Pineapple against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTamiyo%2FPineapple" "/workspace/builds/worker-27/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-27/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Tamiyo/Pineapple on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Tamiyo/Pineapple [INFO] finished tweaking git repo https://github.com/Tamiyo/Pineapple [INFO] tweaked toml for git repo https://github.com/Tamiyo/Pineapple written to /workspace/builds/worker-27/source/Cargo.toml [INFO] crate git repo https://github.com/Tamiyo/Pineapple already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32c0f9806e07a5d8d2b9b7030397d7357a840d81e7709b0f3723d81ce0658f28 [INFO] running `Command { std: "docker" "start" "-a" "32c0f9806e07a5d8d2b9b7030397d7357a840d81e7709b0f3723d81ce0658f28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32c0f9806e07a5d8d2b9b7030397d7357a840d81e7709b0f3723d81ce0658f28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32c0f9806e07a5d8d2b9b7030397d7357a840d81e7709b0f3723d81ce0658f28", kill_on_drop: false }` [INFO] [stdout] 32c0f9806e07a5d8d2b9b7030397d7357a840d81e7709b0f3723d81ce0658f28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6eb1e00db542a10099b9eb0d7a3e8381c9af6dd47ee1318560a20be4fa7f7815 [INFO] running `Command { std: "docker" "start" "-a" "6eb1e00db542a10099b9eb0d7a3e8381c9af6dd47ee1318560a20be4fa7f7815", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling pineapple_ir v0.1.0 (/opt/rustwide/workdir/src/pineapple_ir) [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling syn v1.0.40 [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling hashbrown v0.9.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling pineapple_data_structures v0.1.0 (/opt/rustwide/workdir/src/pineapple_data_structures) [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stdout] warning: unused variable: `copies` [INFO] [stdout] --> src/pineapple_ir/src/mir/mod.rs:103:32 [INFO] [stdout] | [INFO] [stdout] 103 | Stmt::ParallelCopy(copies) => panic!("This should be checked!"), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_copies` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `StatementIndex` [INFO] [stdout] --> src/pineapple_ir/src/mir/mod.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | type StatementIndex = usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/pineapple_ir/src/macros.rs:217:37 [INFO] [stdout] | [INFO] [stdout] 217 | _ => panic!(format!("cannot {:?} {:?} and {:?}", stringify!($op) as &str, self, other)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/pineapple_ir/src/lib.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / ops! { [INFO] [stdout] 41 | | pub struct Value, pub enum ValueWrapper { [INFO] [stdout] 42 | | Add, add, +: [F64, F32, I8, I16, I32, I64, U8, U16, U32, U64], [INFO] [stdout] 43 | | Sub, sub, -: [F64, F32, I8, I16, I32, I64, U8, U16, U32, U64], [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] 48 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `ops` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 217 - _ => panic!(format!("cannot {:?} {:?} and {:?}", stringify!($op) as &str, self, other)) [INFO] [stdout] 217 + _ => panic!("cannot {:?} {:?} and {:?}", stringify!($op) as &str, self, other) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pineapple_session v0.1.0 (/opt/rustwide/workdir/src/pineapple_session) [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling pineapple_error v0.1.0 (/opt/rustwide/workdir/src/pineapple_error) [INFO] [stderr] Compiling pineapple_lexer v0.1.0 (/opt/rustwide/workdir/src/pineapple_lexer) [INFO] [stderr] Compiling pineapple_ast v0.1.0 (/opt/rustwide/workdir/src/pineapple_ast) [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling pineapple_semantics v0.1.0 (/opt/rustwide/workdir/src/pineapple_semantics) [INFO] [stderr] Compiling pineapple_translation v0.1.0 (/opt/rustwide/workdir/src/pineapple_translation) [INFO] [stdout] warning: unused import: `pineapple_ir::op::BinOp` [INFO] [stdout] --> src/pineapple_semantics/src/typecheck.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pineapple_ir::op::BinOp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pineapple_ir::op::RelOp` [INFO] [stdout] --> src/pineapple_semantics/src/typecheck.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pineapple_ir::op::RelOp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/pineapple_translation/src/convert.rs:343:20 [INFO] [stdout] | [INFO] [stdout] 343 | panic!(format!("{:?}", expr)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 343 - panic!(format!("{:?}", expr)) [INFO] [stdout] 343 + panic!("{:?}", expr) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pineapple_codegen_ssa v0.1.0 (/opt/rustwide/workdir/src/pineapple_codegen_ssa) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/pineapple_codegen_ssa/src/analysis/dominator.rs:177:6 [INFO] [stdout] | [INFO] [stdout] 177 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/pineapple_codegen_ssa/src/convert.rs:71:41 [INFO] [stdout] | [INFO] [stdout] 71 | Oper::SSA(SSA::Temp(value, ssa)) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `constant_optimization` [INFO] [stdout] --> src/pineapple_codegen_ssa/src/optimization/mod.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn constant_optimization(cfg: &mut CFG) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `BlockIndex` [INFO] [stdout] --> src/pineapple_codegen_ssa/src/analysis/cfg.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | type BlockIndex = usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/pineapple_codegen_ssa/src/convert.rs:100:37 [INFO] [stdout] | [INFO] [stdout] 100 | _ => panic!(format!("expected variable. got {:?} instead", x)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 100 - _ => panic!(format!("expected variable. got {:?} instead", x)), [INFO] [stdout] 100 + _ => panic!("expected variable. got {:?} instead", x), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pineapple_codegen_bytecode v0.1.0 (/opt/rustwide/workdir/src/pineapple_codegen_bytecode) [INFO] [stderr] Compiling pineapple_vm v0.1.0 (/opt/rustwide/workdir/src/pineapple_vm) [INFO] [stdout] warning: unused import: `pineapple_ir::mir::Label` [INFO] [stdout] --> src/pineapple_vm/src/callframe.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use pineapple_ir::mir::Label; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/pineapple_vm/src/vm.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | _ => unimplemented!(), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/pineapple_vm/src/vm.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | _ => unimplemented!(), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RetAddr` [INFO] [stdout] --> src/pineapple_vm/src/callframe.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | RetAddr(usize), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `RegVal` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/pineapple_vm/src/callframe.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Copy, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling structopt-derive v0.4.10 [INFO] [stderr] Compiling structopt v0.3.17 [INFO] [stderr] Compiling pineapple_passes v0.1.0 (/opt/rustwide/workdir/src/pineapple_passes) [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/pineapple_passes/src/lib.rs:149:69 [INFO] [stdout] | [INFO] [stdout] 149 | fn codegen_ssa_pass(linear_code: Vec>, args: &PassArgs) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/pineapple_passes/src/lib.rs:91:26 [INFO] [stdout] | [INFO] [stdout] 91 | Err(e) => panic!(format!("{}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 91 - Err(e) => panic!(format!("{}", e)), [INFO] [stdout] 91 + Err(e) => panic!("{}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/pineapple_passes/src/lib.rs:107:26 [INFO] [stdout] | [INFO] [stdout] 107 | Err(e) => panic!(format!("{}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 107 - Err(e) => panic!(format!("{}", e)), [INFO] [stdout] 107 + Err(e) => panic!("{}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/pineapple_passes/src/lib.rs:123:26 [INFO] [stdout] | [INFO] [stdout] 123 | Err(e) => panic!(format!("{}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 123 - Err(e) => panic!(format!("{}", e)), [INFO] [stdout] 123 + Err(e) => panic!("{}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pineapple_tooling v0.1.0 (/opt/rustwide/workdir/src/pineapple_tooling) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/pineapple_tooling/src/lib.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | Err(e) => panic!(format!("{}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 6 - Err(e) => panic!(format!("{}", e)), [INFO] [stdout] 6 + Err(e) => panic!("{}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pineapple v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.52s [INFO] running `Command { std: "docker" "inspect" "6eb1e00db542a10099b9eb0d7a3e8381c9af6dd47ee1318560a20be4fa7f7815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6eb1e00db542a10099b9eb0d7a3e8381c9af6dd47ee1318560a20be4fa7f7815", kill_on_drop: false }` [INFO] [stdout] 6eb1e00db542a10099b9eb0d7a3e8381c9af6dd47ee1318560a20be4fa7f7815 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc2b2e5c07f2b23faaa064c4b86dd102ecccf703015c506132af50752b90fe31 [INFO] running `Command { std: "docker" "start" "-a" "bc2b2e5c07f2b23faaa064c4b86dd102ecccf703015c506132af50752b90fe31", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `copies` [INFO] [stdout] --> src/pineapple_ir/src/mir/mod.rs:103:32 [INFO] [stdout] | [INFO] [stdout] 103 | Stmt::ParallelCopy(copies) => panic!("This should be checked!"), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_copies` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `StatementIndex` [INFO] [stdout] --> src/pineapple_ir/src/mir/mod.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | type StatementIndex = usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/pineapple_ir/src/macros.rs:217:37 [INFO] [stdout] | [INFO] [stdout] 217 | _ => panic!(format!("cannot {:?} {:?} and {:?}", stringify!($op) as &str, self, other)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/pineapple_ir/src/lib.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / ops! { [INFO] [stdout] 41 | | pub struct Value, pub enum ValueWrapper { [INFO] [stdout] 42 | | Add, add, +: [F64, F32, I8, I16, I32, I64, U8, U16, U32, U64], [INFO] [stdout] 43 | | Sub, sub, -: [F64, F32, I8, I16, I32, I64, U8, U16, U32, U64], [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] 48 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `ops` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 217 - _ => panic!(format!("cannot {:?} {:?} and {:?}", stringify!($op) as &str, self, other)) [INFO] [stdout] 217 + _ => panic!("cannot {:?} {:?} and {:?}", stringify!($op) as &str, self, other) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/pineapple_codegen_ssa/src/analysis/dominator.rs:177:6 [INFO] [stdout] | [INFO] [stdout] 177 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/pineapple_codegen_ssa/src/convert.rs:71:41 [INFO] [stdout] | [INFO] [stdout] 71 | Oper::SSA(SSA::Temp(value, ssa)) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `constant_optimization` [INFO] [stdout] --> src/pineapple_codegen_ssa/src/optimization/mod.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn constant_optimization(cfg: &mut CFG) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `BlockIndex` [INFO] [stdout] --> src/pineapple_codegen_ssa/src/analysis/cfg.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | type BlockIndex = usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/pineapple_codegen_ssa/src/convert.rs:100:37 [INFO] [stdout] | [INFO] [stdout] 100 | _ => panic!(format!("expected variable. got {:?} instead", x)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 100 - _ => panic!(format!("expected variable. got {:?} instead", x)), [INFO] [stdout] 100 + _ => panic!("expected variable. got {:?} instead", x), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pineapple_ir::op::BinOp` [INFO] [stdout] --> src/pineapple_semantics/src/typecheck.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pineapple_ir::op::BinOp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pineapple_ir::op::RelOp` [INFO] [stdout] --> src/pineapple_semantics/src/typecheck.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pineapple_ir::op::RelOp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/pineapple_translation/src/convert.rs:343:20 [INFO] [stdout] | [INFO] [stdout] 343 | panic!(format!("{:?}", expr)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 343 - panic!(format!("{:?}", expr)) [INFO] [stdout] 343 + panic!("{:?}", expr) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pineapple_ir::mir::Label` [INFO] [stdout] --> src/pineapple_vm/src/callframe.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use pineapple_ir::mir::Label; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/pineapple_vm/src/vm.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | _ => unimplemented!(), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/pineapple_vm/src/vm.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | _ => unimplemented!(), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RetAddr` [INFO] [stdout] --> src/pineapple_vm/src/callframe.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | RetAddr(usize), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `RegVal` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/pineapple_vm/src/callframe.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Copy, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/pineapple_passes/src/lib.rs:149:69 [INFO] [stdout] | [INFO] [stdout] 149 | fn codegen_ssa_pass(linear_code: Vec>, args: &PassArgs) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/pineapple_passes/src/lib.rs:91:26 [INFO] [stdout] | [INFO] [stdout] 91 | Err(e) => panic!(format!("{}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 91 - Err(e) => panic!(format!("{}", e)), [INFO] [stdout] 91 + Err(e) => panic!("{}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/pineapple_passes/src/lib.rs:107:26 [INFO] [stdout] | [INFO] [stdout] 107 | Err(e) => panic!(format!("{}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 107 - Err(e) => panic!(format!("{}", e)), [INFO] [stdout] 107 + Err(e) => panic!("{}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/pineapple_passes/src/lib.rs:123:26 [INFO] [stdout] | [INFO] [stdout] 123 | Err(e) => panic!(format!("{}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 123 - Err(e) => panic!(format!("{}", e)), [INFO] [stdout] 123 + Err(e) => panic!("{}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pineapple v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/pineapple_tooling/src/lib.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | Err(e) => panic!(format!("{}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 6 - Err(e) => panic!(format!("{}", e)), [INFO] [stdout] 6 + Err(e) => panic!("{}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.45s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/pineapple-3f165974432d8ba3) [INFO] running `Command { std: "docker" "inspect" "bc2b2e5c07f2b23faaa064c4b86dd102ecccf703015c506132af50752b90fe31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc2b2e5c07f2b23faaa064c4b86dd102ecccf703015c506132af50752b90fe31", kill_on_drop: false }` [INFO] [stdout] bc2b2e5c07f2b23faaa064c4b86dd102ecccf703015c506132af50752b90fe31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bdc3e1d939ade7d1e6d0b8e18477b4578cc0a320c5ce608861bb8170b05b96d3 [INFO] running `Command { std: "docker" "start" "-a" "bdc3e1d939ade7d1e6d0b8e18477b4578cc0a320c5ce608861bb8170b05b96d3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused variable: `copies` [INFO] [stderr] --> src/pineapple_ir/src/mir/mod.rs:103:32 [INFO] [stderr] | [INFO] [stderr] 103 | Stmt::ParallelCopy(copies) => panic!("This should be checked!"), [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_copies` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `StatementIndex` [INFO] [stderr] --> src/pineapple_ir/src/mir/mod.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | type StatementIndex = usize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/pineapple_ir/src/macros.rs:217:37 [INFO] [stderr] | [INFO] [stderr] 217 | _ => panic!(format!("cannot {:?} {:?} and {:?}", stringify!($op) as &str, self, other)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/pineapple_ir/src/lib.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | / ops! { [INFO] [stderr] 41 | | pub struct Value, pub enum ValueWrapper { [INFO] [stderr] 42 | | Add, add, +: [F64, F32, I8, I16, I32, I64, U8, U16, U32, U64], [INFO] [stderr] 43 | | Sub, sub, -: [F64, F32, I8, I16, I32, I64, U8, U16, U32, U64], [INFO] [stderr] ... | [INFO] [stderr] 47 | | } [INFO] [stderr] 48 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `ops` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 217 - _ => panic!(format!("cannot {:?} {:?} and {:?}", stringify!($op) as &str, self, other)) [INFO] [stderr] 217 + _ => panic!("cannot {:?} {:?} and {:?}", stringify!($op) as &str, self, other) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `pineapple_ir` (lib) generated 3 warnings [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/pineapple_codegen_ssa/src/analysis/dominator.rs:177:6 [INFO] [stderr] | [INFO] [stderr] 177 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/pineapple_codegen_ssa/src/convert.rs:71:41 [INFO] [stderr] | [INFO] [stderr] 71 | Oper::SSA(SSA::Temp(value, ssa)) => { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `constant_optimization` [INFO] [stderr] --> src/pineapple_codegen_ssa/src/optimization/mod.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn constant_optimization(cfg: &mut CFG) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `BlockIndex` [INFO] [stderr] --> src/pineapple_codegen_ssa/src/analysis/cfg.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | type BlockIndex = usize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/pineapple_codegen_ssa/src/convert.rs:100:37 [INFO] [stderr] | [INFO] [stderr] 100 | _ => panic!(format!("expected variable. got {:?} instead", x)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 100 - _ => panic!(format!("expected variable. got {:?} instead", x)), [INFO] [stderr] 100 + _ => panic!("expected variable. got {:?} instead", x), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `pineapple_ir::op::BinOp` [INFO] [stderr] --> src/pineapple_semantics/src/typecheck.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use pineapple_ir::op::BinOp; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `pineapple_ir::op::RelOp` [INFO] [stderr] --> src/pineapple_semantics/src/typecheck.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use pineapple_ir::op::RelOp; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/pineapple_translation/src/convert.rs:343:20 [INFO] [stderr] | [INFO] [stderr] 343 | panic!(format!("{:?}", expr)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 343 - panic!(format!("{:?}", expr)) [INFO] [stderr] 343 + panic!("{:?}", expr) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `pineapple_codegen_ssa` (lib) generated 5 warnings [INFO] [stderr] warning: `pineapple_semantics` (lib) generated 2 warnings [INFO] [stderr] warning: `pineapple_translation` (lib) generated 1 warning [INFO] [stderr] warning: unused import: `pineapple_ir::mir::Label` [INFO] [stderr] --> src/pineapple_vm/src/callframe.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use pineapple_ir::mir::Label; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/pineapple_vm/src/vm.rs:67:13 [INFO] [stderr] | [INFO] [stderr] 67 | _ => unimplemented!(), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/pineapple_vm/src/vm.rs:75:13 [INFO] [stderr] | [INFO] [stderr] 75 | _ => unimplemented!(), [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `RetAddr` [INFO] [stderr] --> src/pineapple_vm/src/callframe.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | RetAddr(usize), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `RegVal` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/pineapple_vm/src/callframe.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug, Copy, Clone, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `pineapple_vm` (lib) generated 4 warnings [INFO] [stderr] warning: unused variable: `args` [INFO] [stderr] --> src/pineapple_passes/src/lib.rs:149:69 [INFO] [stderr] | [INFO] [stderr] 149 | fn codegen_ssa_pass(linear_code: Vec>, args: &PassArgs) -> Vec { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/pineapple_passes/src/lib.rs:91:26 [INFO] [stderr] | [INFO] [stderr] 91 | Err(e) => panic!(format!("{}", e)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 91 - Err(e) => panic!(format!("{}", e)), [INFO] [stderr] 91 + Err(e) => panic!("{}", e), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/pineapple_passes/src/lib.rs:107:26 [INFO] [stderr] | [INFO] [stderr] 107 | Err(e) => panic!(format!("{}", e)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 107 - Err(e) => panic!(format!("{}", e)), [INFO] [stderr] 107 + Err(e) => panic!("{}", e), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/pineapple_passes/src/lib.rs:123:26 [INFO] [stderr] | [INFO] [stderr] 123 | Err(e) => panic!(format!("{}", e)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 123 - Err(e) => panic!(format!("{}", e)), [INFO] [stderr] 123 + Err(e) => panic!("{}", e), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `pineapple_passes` (lib) generated 4 warnings [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/pineapple_tooling/src/lib.rs:6:26 [INFO] [stderr] | [INFO] [stderr] 6 | Err(e) => panic!(format!("{}", e)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 6 - Err(e) => panic!(format!("{}", e)), [INFO] [stderr] 6 + Err(e) => panic!("{}", e), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `pineapple_tooling` (lib) generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/pineapple-3f165974432d8ba3) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bdc3e1d939ade7d1e6d0b8e18477b4578cc0a320c5ce608861bb8170b05b96d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdc3e1d939ade7d1e6d0b8e18477b4578cc0a320c5ce608861bb8170b05b96d3", kill_on_drop: false }` [INFO] [stdout] bdc3e1d939ade7d1e6d0b8e18477b4578cc0a320c5ce608861bb8170b05b96d3