[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] checking Tamiyo/Pineapple against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTamiyo%2FPineapple" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Tamiyo/Pineapple on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-10/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19ba270fb65fcbf06aae139c8299960c712928e548c906be567d4c22daa82119 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "19ba270fb65fcbf06aae139c8299960c712928e548c906be567d4c22daa82119", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19ba270fb65fcbf06aae139c8299960c712928e548c906be567d4c22daa82119", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19ba270fb65fcbf06aae139c8299960c712928e548c906be567d4c22daa82119", kill_on_drop: false }` [INFO] [stdout] 19ba270fb65fcbf06aae139c8299960c712928e548c906be567d4c22daa82119 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1b35f089ff2c5f97215ae93b989ec7f87659c11743dd3fae315099e4dac5108 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c1b35f089ff2c5f97215ae93b989ec7f87659c11743dd3fae315099e4dac5108", kill_on_drop: false }` [INFO] [stderr] Checking pineapple_ir v0.1.0 (/opt/rustwide/workdir/src/pineapple_ir) [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling syn v1.0.40 [INFO] [stderr] Checking hashbrown v0.9.0 [INFO] [stderr] Checking pineapple_data_structures v0.1.0 (/opt/rustwide/workdir/src/pineapple_data_structures) [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [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_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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 a macro (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!("cannot {:?} {:?} and {:?}", stringify!($op) as &str, self, other) [INFO] [stdout] | -- -- [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: this is no longer accepted in Rust 2021 [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 a macro (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!("cannot {:?} {:?} and {:?}", stringify!($op) as &str, self, other) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking pineapple_session v0.1.0 (/opt/rustwide/workdir/src/pineapple_session) [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Checking pineapple_error v0.1.0 (/opt/rustwide/workdir/src/pineapple_error) [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking pineapple_lexer v0.1.0 (/opt/rustwide/workdir/src/pineapple_lexer) [INFO] [stderr] Checking pineapple_ast v0.1.0 (/opt/rustwide/workdir/src/pineapple_ast) [INFO] [stderr] Checking pineapple_translation v0.1.0 (/opt/rustwide/workdir/src/pineapple_translation) [INFO] [stderr] Checking pineapple_semantics v0.1.0 (/opt/rustwide/workdir/src/pineapple_semantics) [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_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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!("{:?}", expr) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking 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: 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_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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!("expected variable. got {:?} instead", x), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking pineapple_codegen_bytecode v0.1.0 (/opt/rustwide/workdir/src/pineapple_codegen_bytecode) [INFO] [stderr] Checking 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] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling structopt-derive v0.4.10 [INFO] [stderr] Checking structopt v0.3.17 [INFO] [stderr] Checking 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_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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!("{}", 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 is no longer accepted in Rust 2021 [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!("{}", 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 is no longer accepted in Rust 2021 [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!("{}", e), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking 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_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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!("{}", e), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking pineapple v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 33.14s [INFO] running `Command { std: "docker" "inspect" "c1b35f089ff2c5f97215ae93b989ec7f87659c11743dd3fae315099e4dac5108", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1b35f089ff2c5f97215ae93b989ec7f87659c11743dd3fae315099e4dac5108", kill_on_drop: false }` [INFO] [stdout] c1b35f089ff2c5f97215ae93b989ec7f87659c11743dd3fae315099e4dac5108