[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 try#8262275854dc0e5381c9d42d56257d94932c5a87 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTamiyo%2FPineapple" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Tamiyo/Pineapple on toolchain 8262275854dc0e5381c9d42d56257d94932c5a87 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "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-0/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" "+8262275854dc0e5381c9d42d56257d94932c5a87" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 81fdfc103924a688e29083a97d583068b6daf764fb2247907c502c4e77d3c4fe [INFO] running `Command { std: "docker" "start" "-a" "81fdfc103924a688e29083a97d583068b6daf764fb2247907c502c4e77d3c4fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81fdfc103924a688e29083a97d583068b6daf764fb2247907c502c4e77d3c4fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81fdfc103924a688e29083a97d583068b6daf764fb2247907c502c4e77d3c4fe", kill_on_drop: false }` [INFO] [stdout] 81fdfc103924a688e29083a97d583068b6daf764fb2247907c502c4e77d3c4fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e37c8e16d89338f9bceca912102811f8514e26aa69b8a6434da93a026d0a478 [INFO] running `Command { std: "docker" "start" "-a" "7e37c8e16d89338f9bceca912102811f8514e26aa69b8a6434da93a026d0a478", 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 syn v1.0.40 [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling hashbrown v0.9.0 [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 vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling heck v0.3.1 [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 proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling pineapple_session v0.1.0 (/opt/rustwide/workdir/src/pineapple_session) [INFO] [stderr] Compiling pineapple_error v0.1.0 (/opt/rustwide/workdir/src/pineapple_error) [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pineapple_lexer v0.1.0 (/opt/rustwide/workdir/src/pineapple_lexer) [INFO] [stderr] Compiling pineapple_codegen_ssa v0.1.0 (/opt/rustwide/workdir/src/pineapple_codegen_ssa) [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling atty v0.2.14 [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: 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] = note: `#[warn(dead_code)]` 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] [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_ast v0.1.0 (/opt/rustwide/workdir/src/pineapple_ast) [INFO] [stderr] Compiling clap v2.33.3 [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: 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] [INFO] [stdout] [INFO] [stderr] Compiling pineapple_translation v0.1.0 (/opt/rustwide/workdir/src/pineapple_translation) [INFO] [stderr] Compiling pineapple_semantics v0.1.0 (/opt/rustwide/workdir/src/pineapple_semantics) [INFO] [stdout] warning: 5 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: 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning 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] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pineapple v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 03s [INFO] running `Command { std: "docker" "inspect" "7e37c8e16d89338f9bceca912102811f8514e26aa69b8a6434da93a026d0a478", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e37c8e16d89338f9bceca912102811f8514e26aa69b8a6434da93a026d0a478", kill_on_drop: false }` [INFO] [stdout] 7e37c8e16d89338f9bceca912102811f8514e26aa69b8a6434da93a026d0a478 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01ae6c647221d4ef4053b9fd4a0a4b4df5d46810638cdf82cd17b4326b836c80 [INFO] running `Command { std: "docker" "start" "-a" "01ae6c647221d4ef4053b9fd4a0a4b4df5d46810638cdf82cd17b4326b836c80", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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: 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] = note: `#[warn(dead_code)]` 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] [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 v0.1.0 (/opt/rustwide/workdir) [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] [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] [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 7.77s [INFO] running `Command { std: "docker" "inspect" "01ae6c647221d4ef4053b9fd4a0a4b4df5d46810638cdf82cd17b4326b836c80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01ae6c647221d4ef4053b9fd4a0a4b4df5d46810638cdf82cd17b4326b836c80", kill_on_drop: false }` [INFO] [stdout] 01ae6c647221d4ef4053b9fd4a0a4b4df5d46810638cdf82cd17b4326b836c80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6166a0624794342e79e02f2389ba1f7fa02ceffc074cfc3711cc51bc3d228858 [INFO] running `Command { std: "docker" "start" "-a" "6166a0624794342e79e02f2389ba1f7fa02ceffc074cfc3711cc51bc3d228858", 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: 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] = note: `#[warn(dead_code)]` 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] 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: 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: 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: `pineapple_codegen_ssa` (lib) generated 5 warnings [INFO] [stderr] warning: `pineapple_translation` (lib) generated 1 warning [INFO] [stderr] warning: `pineapple_semantics` (lib) generated 2 warnings [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] [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 3.47s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/pineapple-6522b7e3ed71b410) [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" "6166a0624794342e79e02f2389ba1f7fa02ceffc074cfc3711cc51bc3d228858", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6166a0624794342e79e02f2389ba1f7fa02ceffc074cfc3711cc51bc3d228858", kill_on_drop: false }` [INFO] [stdout] 6166a0624794342e79e02f2389ba1f7fa02ceffc074cfc3711cc51bc3d228858