[INFO] cloning repository https://github.com/ggvm-org/ggvm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ggvm-org/ggvm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fggvm-org%2Fggvm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fggvm-org%2Fggvm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2a0523d215d7ab508a1565c352309d422d6b906a [INFO] testing ggvm-org/ggvm against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fggvm-org%2Fggvm" "/workspace/builds/worker-107/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-107/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ggvm-org/ggvm on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ggvm-org/ggvm [INFO] finished tweaking git repo https://github.com/ggvm-org/ggvm [INFO] tweaked toml for git repo https://github.com/ggvm-org/ggvm written to /workspace/builds/worker-107/source/Cargo.toml [INFO] crate git repo https://github.com/ggvm-org/ggvm already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded insta v1.12.0 [INFO] [stderr] Downloaded plan9_asm v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d0822b81b0aaf1047ab21eb663023757f3b70f382abc754f04448e8945ae7b0 [INFO] running `Command { std: "docker" "start" "-a" "7d0822b81b0aaf1047ab21eb663023757f3b70f382abc754f04448e8945ae7b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d0822b81b0aaf1047ab21eb663023757f3b70f382abc754f04448e8945ae7b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d0822b81b0aaf1047ab21eb663023757f3b70f382abc754f04448e8945ae7b0", kill_on_drop: false }` [INFO] [stdout] 7d0822b81b0aaf1047ab21eb663023757f3b70f382abc754f04448e8945ae7b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e04000171f3baf9fea623bbbef4fa9b66df914ccba2993ba15e5e220a1b96e8d [INFO] running `Command { std: "docker" "start" "-a" "e04000171f3baf9fea623bbbef4fa9b66df914ccba2993ba15e5e220a1b96e8d", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling plan9_asm v0.1.5 [INFO] [stderr] Compiling go_ast v0.1.0 (/opt/rustwide/workdir/go_ast) [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> go_ast/src/lib.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | fn new(s: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_main` [INFO] [stdout] --> go_ast/src/lib.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn new_main() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> go_ast/src/lib.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn new(s: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `math_rand` [INFO] [stdout] --> go_ast/src/lib.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn math_rand() -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> go_ast/src/lib.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn new(name: String, ret_type: Type, wrap: &'static str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling compiler v0.1.0 (/opt/rustwide/workdir/compiler) [INFO] [stdout] warning: unused import: `std::process::Command` [INFO] [stdout] --> compiler/src/link/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> compiler/src/analyze/mod.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let offset = func.stmts.iter().fold(0, |mut offset, stmt| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> compiler/src/analyze/mod.rs:79:31 [INFO] [stdout] | [INFO] [stdout] 79 | &Statement::Local(op, b) => h.extend(analyze_operand(&op)), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typ` [INFO] [stdout] --> compiler/src/analyze/mod.rs:92:27 [INFO] [stdout] | [INFO] [stdout] 92 | &Instruction::Ret(typ, op) => h.extend(analyze_operand(&op)), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_typ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> compiler/src/codegen/mod.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | Statement::Local(op, inst) => unimplemented!(), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> compiler/src/codegen/mod.rs:32:30 [INFO] [stdout] | [INFO] [stdout] 32 | Statement::Local(op, inst) => unimplemented!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typ` [INFO] [stdout] --> compiler/src/codegen/mod.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | Instruction::Add(typ, a, b) => unimplemented!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_typ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> compiler/src/codegen/mod.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | Instruction::Add(typ, a, b) => unimplemented!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> compiler/src/codegen/mod.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | Instruction::Add(typ, a, b) => unimplemented!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typ` [INFO] [stdout] --> compiler/src/codegen/mod.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | Instruction::Ret(typ, a) => vec![directive!(RET)], [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_typ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> compiler/src/codegen/mod.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | Instruction::Ret(typ, a) => vec![directive!(RET)], [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `go_asm` [INFO] [stdout] --> compiler/src/link/mod.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | pub(super) fn link(go_asm: GoAssembly) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_go_asm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `args` [INFO] [stdout] --> compiler/src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | args: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Func` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> compiler/src/lib.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug)] [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: field is never read: `ret_type` [INFO] [stdout] --> compiler/src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | ret_type: Typ, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Func` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> compiler/src/lib.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug)] [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: field is never read: `stacksize` [INFO] [stdout] --> compiler/src/analyze/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) stacksize: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AnalyzeResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> compiler/src/analyze/mod.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Debug)] [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: field is never read: `env` [INFO] [stdout] --> compiler/src/analyze/mod.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub(crate) env: Environment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AnalyzeResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> compiler/src/analyze/mod.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Debug)] [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: associated function is never used: `new` [INFO] [stdout] --> compiler/src/analyze/mod.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | fn new(stacksize: usize, env: Environment, func: Func) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_goroutine_prologue` [INFO] [stdout] --> compiler/src/go_assembly/mod.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | fn new_goroutine_prologue() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_goroutine_epilogue` [INFO] [stdout] --> compiler/src/go_assembly/mod.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn new_goroutine_epilogue() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `link` [INFO] [stdout] --> compiler/src/link/mod.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | pub(super) fn link(go_asm: GoAssembly) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ggvm v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.51s [INFO] running `Command { std: "docker" "inspect" "e04000171f3baf9fea623bbbef4fa9b66df914ccba2993ba15e5e220a1b96e8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e04000171f3baf9fea623bbbef4fa9b66df914ccba2993ba15e5e220a1b96e8d", kill_on_drop: false }` [INFO] [stdout] e04000171f3baf9fea623bbbef4fa9b66df914ccba2993ba15e5e220a1b96e8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 288a9f6f2ea0787d74be65248ab1633ace7133139889cbe9eeba26a1415d19aa [INFO] running `Command { std: "docker" "start" "-a" "288a9f6f2ea0787d74be65248ab1633ace7133139889cbe9eeba26a1415d19aa", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling similar v2.1.0 [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> go_ast/src/lib.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | fn new(s: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_main` [INFO] [stdout] --> go_ast/src/lib.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn new_main() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> go_ast/src/lib.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn new(s: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `math_rand` [INFO] [stdout] --> go_ast/src/lib.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn math_rand() -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> go_ast/src/lib.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn new(name: String, ret_type: Type, wrap: &'static str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::Command` [INFO] [stdout] --> compiler/src/link/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> compiler/src/analyze/mod.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let offset = func.stmts.iter().fold(0, |mut offset, stmt| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> compiler/src/analyze/mod.rs:79:31 [INFO] [stdout] | [INFO] [stdout] 79 | &Statement::Local(op, b) => h.extend(analyze_operand(&op)), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typ` [INFO] [stdout] --> compiler/src/analyze/mod.rs:92:27 [INFO] [stdout] | [INFO] [stdout] 92 | &Instruction::Ret(typ, op) => h.extend(analyze_operand(&op)), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_typ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> compiler/src/codegen/mod.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | Statement::Local(op, inst) => unimplemented!(), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> compiler/src/codegen/mod.rs:32:30 [INFO] [stdout] | [INFO] [stdout] 32 | Statement::Local(op, inst) => unimplemented!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typ` [INFO] [stdout] --> compiler/src/codegen/mod.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | Instruction::Add(typ, a, b) => unimplemented!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_typ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> compiler/src/codegen/mod.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | Instruction::Add(typ, a, b) => unimplemented!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> compiler/src/codegen/mod.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | Instruction::Add(typ, a, b) => unimplemented!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typ` [INFO] [stdout] --> compiler/src/codegen/mod.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | Instruction::Ret(typ, a) => vec![directive!(RET)], [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_typ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> compiler/src/codegen/mod.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | Instruction::Ret(typ, a) => vec![directive!(RET)], [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `go_asm` [INFO] [stdout] --> compiler/src/link/mod.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | pub(super) fn link(go_asm: GoAssembly) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_go_asm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `args` [INFO] [stdout] --> compiler/src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | args: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Func` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> compiler/src/lib.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug)] [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: field is never read: `ret_type` [INFO] [stdout] --> compiler/src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | ret_type: Typ, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Func` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> compiler/src/lib.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug)] [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: field is never read: `stacksize` [INFO] [stdout] --> compiler/src/analyze/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) stacksize: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AnalyzeResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> compiler/src/analyze/mod.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Debug)] [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: field is never read: `env` [INFO] [stdout] --> compiler/src/analyze/mod.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub(crate) env: Environment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AnalyzeResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> compiler/src/analyze/mod.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Debug)] [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: associated function is never used: `new` [INFO] [stdout] --> compiler/src/analyze/mod.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | fn new(stacksize: usize, env: Environment, func: Func) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_goroutine_prologue` [INFO] [stdout] --> compiler/src/go_assembly/mod.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | fn new_goroutine_prologue() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_goroutine_epilogue` [INFO] [stdout] --> compiler/src/go_assembly/mod.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn new_goroutine_epilogue() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `link` [INFO] [stdout] --> compiler/src/link/mod.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | pub(super) fn link(go_asm: GoAssembly) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling console v0.15.0 [INFO] [stderr] Compiling serde_yaml v0.8.23 [INFO] [stderr] Compiling insta v1.12.0 [INFO] [stderr] Compiling ggvm v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 44.93s [INFO] running `Command { std: "docker" "inspect" "288a9f6f2ea0787d74be65248ab1633ace7133139889cbe9eeba26a1415d19aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "288a9f6f2ea0787d74be65248ab1633ace7133139889cbe9eeba26a1415d19aa", kill_on_drop: false }` [INFO] [stdout] 288a9f6f2ea0787d74be65248ab1633ace7133139889cbe9eeba26a1415d19aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1cd009705cb66fa27982d4b02a92995219c62b7a8680cf79a1ad37f0c412b284 [INFO] running `Command { std: "docker" "start" "-a" "1cd009705cb66fa27982d4b02a92995219c62b7a8680cf79a1ad37f0c412b284", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> go_ast/src/lib.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 7 | fn new(s: String) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new_main` [INFO] [stderr] --> go_ast/src/lib.rs:11:8 [INFO] [stderr] | [INFO] [stderr] 11 | fn new_main() -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> go_ast/src/lib.rs:24:8 [INFO] [stderr] | [INFO] [stderr] 24 | fn new(s: String) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `math_rand` [INFO] [stderr] --> go_ast/src/lib.rs:28:8 [INFO] [stderr] | [INFO] [stderr] 28 | fn math_rand() -> Self { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> go_ast/src/lib.rs:47:12 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn new(name: String, ret_type: Type, wrap: &'static str) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `go_ast` (lib) generated 5 warnings [INFO] [stderr] warning: unused import: `std::process::Command` [INFO] [stderr] --> compiler/src/link/mod.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::process::Command; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `offset` [INFO] [stderr] --> compiler/src/analyze/mod.rs:58:9 [INFO] [stderr] | [INFO] [stderr] 58 | let offset = func.stmts.iter().fold(0, |mut offset, stmt| { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `b` [INFO] [stderr] --> compiler/src/analyze/mod.rs:79:31 [INFO] [stderr] | [INFO] [stderr] 79 | &Statement::Local(op, b) => h.extend(analyze_operand(&op)), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `typ` [INFO] [stderr] --> compiler/src/analyze/mod.rs:92:27 [INFO] [stderr] | [INFO] [stderr] 92 | &Instruction::Ret(typ, op) => h.extend(analyze_operand(&op)), [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_typ` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `op` [INFO] [stderr] --> compiler/src/codegen/mod.rs:32:26 [INFO] [stderr] | [INFO] [stderr] 32 | Statement::Local(op, inst) => unimplemented!(), [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `inst` [INFO] [stderr] --> compiler/src/codegen/mod.rs:32:30 [INFO] [stderr] | [INFO] [stderr] 32 | Statement::Local(op, inst) => unimplemented!(), [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `typ` [INFO] [stderr] --> compiler/src/codegen/mod.rs:39:26 [INFO] [stderr] | [INFO] [stderr] 39 | Instruction::Add(typ, a, b) => unimplemented!(), [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_typ` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `a` [INFO] [stderr] --> compiler/src/codegen/mod.rs:39:31 [INFO] [stderr] | [INFO] [stderr] 39 | Instruction::Add(typ, a, b) => unimplemented!(), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `b` [INFO] [stderr] --> compiler/src/codegen/mod.rs:39:34 [INFO] [stderr] | [INFO] [stderr] 39 | Instruction::Add(typ, a, b) => unimplemented!(), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `typ` [INFO] [stderr] --> compiler/src/codegen/mod.rs:40:26 [INFO] [stderr] | [INFO] [stderr] 40 | Instruction::Ret(typ, a) => vec![directive!(RET)], [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_typ` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `a` [INFO] [stderr] --> compiler/src/codegen/mod.rs:40:31 [INFO] [stderr] | [INFO] [stderr] 40 | Instruction::Ret(typ, a) => vec![directive!(RET)], [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `go_asm` [INFO] [stderr] --> compiler/src/link/mod.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | pub(super) fn link(go_asm: GoAssembly) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_go_asm` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `args` [INFO] [stderr] --> compiler/src/lib.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | args: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Func` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> compiler/src/lib.rs:21:10 [INFO] [stderr] | [INFO] [stderr] 21 | #[derive(Debug)] [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: field is never read: `ret_type` [INFO] [stderr] --> compiler/src/lib.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | ret_type: Typ, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Func` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> compiler/src/lib.rs:21:10 [INFO] [stderr] | [INFO] [stderr] 21 | #[derive(Debug)] [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: field is never read: `stacksize` [INFO] [stderr] --> compiler/src/analyze/mod.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | pub(crate) stacksize: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AnalyzeResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> compiler/src/analyze/mod.rs:32:10 [INFO] [stderr] | [INFO] [stderr] 32 | #[derive(Debug)] [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: field is never read: `env` [INFO] [stderr] --> compiler/src/analyze/mod.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | pub(crate) env: Environment, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AnalyzeResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> compiler/src/analyze/mod.rs:32:10 [INFO] [stderr] | [INFO] [stderr] 32 | #[derive(Debug)] [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: associated function is never used: `new` [INFO] [stderr] --> compiler/src/analyze/mod.rs:41:8 [INFO] [stderr] | [INFO] [stderr] 41 | fn new(stacksize: usize, env: Environment, func: Func) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new_goroutine_prologue` [INFO] [stderr] --> compiler/src/go_assembly/mod.rs:9:8 [INFO] [stderr] | [INFO] [stderr] 9 | fn new_goroutine_prologue() -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new_goroutine_epilogue` [INFO] [stderr] --> compiler/src/go_assembly/mod.rs:18:8 [INFO] [stderr] | [INFO] [stderr] 18 | fn new_goroutine_epilogue() -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `link` [INFO] [stderr] --> compiler/src/link/mod.rs:5:15 [INFO] [stderr] | [INFO] [stderr] 5 | pub(super) fn link(go_asm: GoAssembly) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `compiler` (lib) generated 20 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.77s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ggvm-99d39a6c7a21405d) [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" "1cd009705cb66fa27982d4b02a92995219c62b7a8680cf79a1ad37f0c412b284", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cd009705cb66fa27982d4b02a92995219c62b7a8680cf79a1ad37f0c412b284", kill_on_drop: false }` [INFO] [stdout] 1cd009705cb66fa27982d4b02a92995219c62b7a8680cf79a1ad37f0c412b284