[INFO] cloning repository https://github.com/JohnGilbert57/Grumpy-Language-Compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JohnGilbert57/Grumpy-Language-Compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohnGilbert57%2FGrumpy-Language-Compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohnGilbert57%2FGrumpy-Language-Compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4f5edfcb4e148e8edc8fcfc08f3e1a2c6dc9a215 [INFO] checking JohnGilbert57/Grumpy-Language-Compiler against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohnGilbert57%2FGrumpy-Language-Compiler" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/JohnGilbert57/Grumpy-Language-Compiler [INFO] finished tweaking git repo https://github.com/JohnGilbert57/Grumpy-Language-Compiler [INFO] tweaked toml for git repo https://github.com/JohnGilbert57/Grumpy-Language-Compiler written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JohnGilbert57/Grumpy-Language-Compiler on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JohnGilbert57/Grumpy-Language-Compiler already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 18f886ab65189c070a158b1e7c047ce9167c2e2df5fb54b310ea19527aedc654 [INFO] running `Command { std: "docker" "start" "18f886ab65189c070a158b1e7c047ce9167c2e2df5fb54b310ea19527aedc654", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18f886ab65189c070a158b1e7c047ce9167c2e2df5fb54b310ea19527aedc654", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "18f886ab65189c070a158b1e7c047ce9167c2e2df5fb54b310ea19527aedc654" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18f886ab65189c070a158b1e7c047ce9167c2e2df5fb54b310ea19527aedc654", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "18f886ab65189c070a158b1e7c047ce9167c2e2df5fb54b310ea19527aedc654" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking sexp v1.1.4 [INFO] [stderr] Checking grumpy v0.1.0 (/opt/rustwide/workdir/grumpy) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> grumpy/src/ir.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::isa::{self, Binop, Binop::*, Unop, Unop::*}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Binop` [INFO] [stdout] --> grumpy/src/compile.rs:12:59 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::isa::{Instr, Label, PInstr, PInstr::*, Val::*, Binop, Unop}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> grumpy/src/ir.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::isa::{self, Binop, Binop::*, Unop, Unop::*}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> grumpy/src/vm.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 231 | let mut result; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> grumpy/src/vm.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 231 | let mut result; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `String` [INFO] [stdout] --> grumpy/src/ir.rs:160:11 [INFO] [stdout] | [INFO] [stdout] 160 | _ => Err(format!("expected atom, got {}", s).into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `String` [INFO] [stdout] --> grumpy/src/ir.rs:167:11 [INFO] [stdout] | [INFO] [stdout] 167 | _ => Err(format!("expected list, got {}", s).into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `String` [INFO] [stdout] --> grumpy/src/ir.rs:174:11 [INFO] [stdout] | [INFO] [stdout] 174 | _ => Err(format!("expected list of length {}, got {}", n, s).into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `String` [INFO] [stdout] --> grumpy/src/ir.rs:188:11 [INFO] [stdout] | [INFO] [stdout] 188 | _ => Err(format!("expected symbol {}, got {}", sym, s).into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> grumpy/src/vm.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | / match result { [INFO] [stdout] 237 | | Vsize(v) => State::push(self, Vi32(v as i32)), [INFO] [stdout] 238 | | _ => {return Err(VMError("Error: Exec() - Size failed not a Vsize".to_string()));} [INFO] [stdout] 239 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 236 | let _ = match result { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `grumpy` (lib) due to 4 previous errors; 4 warnings emitted [INFO] [stdout] error: useless conversion to the same type: `String` [INFO] [stdout] --> grumpy/src/ir.rs:160:11 [INFO] [stdout] | [INFO] [stdout] 160 | _ => Err(format!("expected atom, got {}", s).into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: useless conversion to the same type: `String` [INFO] [stdout] --> grumpy/src/ir.rs:167:11 [INFO] [stdout] | [INFO] [stdout] 167 | _ => Err(format!("expected list, got {}", s).into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `String` [INFO] [stdout] --> grumpy/src/ir.rs:174:11 [INFO] [stdout] | [INFO] [stdout] 174 | _ => Err(format!("expected list of length {}, got {}", n, s).into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `String` [INFO] [stdout] --> grumpy/src/ir.rs:188:11 [INFO] [stdout] | [INFO] [stdout] 188 | _ => Err(format!("expected symbol {}, got {}", sym, s).into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> grumpy/src/vm.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | / match result { [INFO] [stdout] 237 | | Vsize(v) => State::push(self, Vi32(v as i32)), [INFO] [stdout] 238 | | _ => {return Err(VMError("Error: Exec() - Size failed not a Vsize".to_string()));} [INFO] [stdout] 239 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 236 | let _ = match result { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `grumpy` (lib test) due to 4 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "18f886ab65189c070a158b1e7c047ce9167c2e2df5fb54b310ea19527aedc654", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18f886ab65189c070a158b1e7c047ce9167c2e2df5fb54b310ea19527aedc654", kill_on_drop: false }` [INFO] [stdout] 18f886ab65189c070a158b1e7c047ce9167c2e2df5fb54b310ea19527aedc654