[INFO] cloning repository https://github.com/Lapz/vision [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lapz/vision" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLapz%2Fvision", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLapz%2Fvision'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a57c9905c9030707f36790e53fda9a20b13384ed [INFO] checking Lapz/vision against master#30840c53f414b753cb08f14620906572f88dda4b for pr-123531 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLapz%2Fvision" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Lapz/vision on toolchain 30840c53f414b753cb08f14620906572f88dda4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30840c53f414b753cb08f14620906572f88dda4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Lapz/vision [INFO] finished tweaking git repo https://github.com/Lapz/vision [INFO] tweaked toml for git repo https://github.com/Lapz/vision written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Lapz/vision 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" "+30840c53f414b753cb08f14620906572f88dda4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking Lapz/vision against try#18fb860b8a8e7ca508746882328061d0fe352543 for pr-123531 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLapz%2Fvision" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Lapz/vision on toolchain 18fb860b8a8e7ca508746882328061d0fe352543 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18fb860b8a8e7ca508746882328061d0fe352543" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Lapz/vision [INFO] finished tweaking git repo https://github.com/Lapz/vision [INFO] tweaked toml for git repo https://github.com/Lapz/vision written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Lapz/vision 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" "+18fb860b8a8e7ca508746882328061d0fe352543" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking Lapz/vision against try#18fb860b8a8e7ca508746882328061d0fe352543 for pr-123531 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLapz%2Fvision" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Lapz/vision on toolchain 18fb860b8a8e7ca508746882328061d0fe352543 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18fb860b8a8e7ca508746882328061d0fe352543" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Lapz/vision [INFO] finished tweaking git repo https://github.com/Lapz/vision [INFO] tweaked toml for git repo https://github.com/Lapz/vision written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Lapz/vision 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" "+18fb860b8a8e7ca508746882328061d0fe352543" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+18fb860b8a8e7ca508746882328061d0fe352543" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 781f7b6232c17a90366510007c11447ec34452f075ce13c83d62178f8680ed64 [INFO] running `Command { std: "docker" "start" "-a" "781f7b6232c17a90366510007c11447ec34452f075ce13c83d62178f8680ed64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "781f7b6232c17a90366510007c11447ec34452f075ce13c83d62178f8680ed64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "781f7b6232c17a90366510007c11447ec34452f075ce13c83d62178f8680ed64", kill_on_drop: false }` [INFO] [stdout] 781f7b6232c17a90366510007c11447ec34452f075ce13c83d62178f8680ed64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+18fb860b8a8e7ca508746882328061d0fe352543" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dfed8da5da8d1094d42a7240de1e832807bb5788aa8af39c681c4b353b6aad63 [INFO] running `Command { std: "docker" "start" "-a" "dfed8da5da8d1094d42a7240de1e832807bb5788aa8af39c681c4b353b6aad63", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Checking ast v0.1.0 (/opt/rustwide/workdir/ast) [INFO] [stderr] Checking vm v0.1.0 (/opt/rustwide/workdir/vm) [INFO] [stdout] warning: unused import: `Span` [INFO] [stdout] --> ast/src/statements.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | prelude::{Span, Type}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RawObject` [INFO] [stdout] --> vm/src/frame.rs:1:66 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Allocator, ClosureObject, FunctionObject, ObjectPtr, RawObject}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Span` [INFO] [stdout] --> ast/src/statements.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | prelude::{Span, Type}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callee` [INFO] [stdout] --> ast/src/expression.rs:118:32 [INFO] [stdout] | [INFO] [stdout] 118 | Expression::Call { callee, args } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `callee: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> ast/src/expression.rs:118:40 [INFO] [stdout] | [INFO] [stdout] 118 | Expression::Call { callee, args } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RawObject` [INFO] [stdout] --> vm/src/frame.rs:1:66 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Allocator, ClosureObject, FunctionObject, ObjectPtr, RawObject}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callee` [INFO] [stdout] --> ast/src/expression.rs:118:32 [INFO] [stdout] | [INFO] [stdout] 118 | Expression::Call { callee, args } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `callee: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> ast/src/expression.rs:118:40 [INFO] [stdout] | [INFO] [stdout] 118 | Expression::Call { callee, args } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> ast/src/statements.rs:41:32 [INFO] [stdout] | [INFO] [stdout] 41 | Statement::While { cond, body } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `cond: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> ast/src/statements.rs:41:38 [INFO] [stdout] | [INFO] [stdout] 41 | Statement::While { cond, body } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> ast/src/statements.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | Statement::If { cond, then, else_ } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `cond: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `then` [INFO] [stdout] --> ast/src/statements.rs:52:35 [INFO] [stdout] | [INFO] [stdout] 52 | Statement::If { cond, then, else_ } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `then: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `else_` [INFO] [stdout] --> ast/src/statements.rs:52:41 [INFO] [stdout] | [INFO] [stdout] 52 | Statement::If { cond, then, else_ } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `else_: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> ast/src/statements.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | ty, [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> ast/src/statements.rs:41:32 [INFO] [stdout] | [INFO] [stdout] 41 | Statement::While { cond, body } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `cond: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> ast/src/statements.rs:41:38 [INFO] [stdout] | [INFO] [stdout] 41 | Statement::While { cond, body } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> ast/src/statements.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | Statement::If { cond, then, else_ } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `cond: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `then` [INFO] [stdout] --> ast/src/statements.rs:52:35 [INFO] [stdout] | [INFO] [stdout] 52 | Statement::If { cond, then, else_ } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `then: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `else_` [INFO] [stdout] --> ast/src/statements.rs:52:41 [INFO] [stdout] | [INFO] [stdout] 52 | Statement::If { cond, then, else_ } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `else_: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> ast/src/statements.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | ty, [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> ast/src/intern.rs:163:28 [INFO] [stdout] | [INFO] [stdout] 163 | let borrowed = item.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> ast/src/intern.rs:163:28 [INFO] [stdout] | [INFO] [stdout] 163 | let borrowed = item.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking errors v0.1.0 (/opt/rustwide/workdir/errors) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> vm/src/table.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let mut entry = self.entries.get_mut(slot).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> vm/src/table.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let mut entry = self.entries.get_mut(slot).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Blue` should have an upper case name [INFO] [stdout] --> errors/src/color.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const Blue: Color = Color { [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `BLUE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Purple` should have an upper case name [INFO] [stdout] --> errors/src/color.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const Purple: Color = Color { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `PURPLE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Red` should have an upper case name [INFO] [stdout] --> errors/src/color.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const Red: Color = Color { [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `RED` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Yellow` should have an upper case name [INFO] [stdout] --> errors/src/color.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub const Yellow: Color = Color { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `YELLOW` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Blue` should have an upper case name [INFO] [stdout] --> errors/src/color.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const Blue: Color = Color { [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `BLUE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Purple` should have an upper case name [INFO] [stdout] --> errors/src/color.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const Purple: Color = Color { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `PURPLE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Red` should have an upper case name [INFO] [stdout] --> errors/src/color.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const Red: Color = Color { [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `RED` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Yellow` should have an upper case name [INFO] [stdout] --> errors/src/color.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub const Yellow: Color = Color { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `YELLOW` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking syntax v0.1.0 (/opt/rustwide/workdir/syntax) [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking compiler v0.1.0 (/opt/rustwide/workdir/compiler) [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RawObject` [INFO] [stdout] --> compiler/src/parser.rs:9:59 [INFO] [stdout] | [INFO] [stdout] 9 | use vm::{chunk::Chunk, op::Op, FunctionObject, ObjectPtr, RawObject, Table, Value}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RawObject` [INFO] [stdout] --> compiler/src/parser.rs:9:59 [INFO] [stdout] | [INFO] [stdout] 9 | use vm::{chunk::Chunk, op::Op, FunctionObject, ObjectPtr, RawObject, Table, Value}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking core v0.1.0 (/opt/rustwide/workdir/core) [INFO] [stdout] warning: variant `Type` is never constructed [INFO] [stdout] --> compiler/src/token.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum TokenType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 53 | Type, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `self` [INFO] [stdout] --> core/src/ast/resolved.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{self, Display}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `self` [INFO] [stdout] --> core/src/ast/resolved.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{self, Display}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> core/src/resolve.rs:224:21 [INFO] [stdout] | [INFO] [stdout] 223 | / if let Some(ty) = ty { [INFO] [stdout] 224 | | self.visit_type(ty) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^ expected `()`, found `Spanned` [INFO] [stdout] 225 | | } [INFO] [stdout] | |_________________- expected this to be `()` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found struct `Spanned` [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 224 | self.visit_type(ty); [INFO] [stdout] | + [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 225 | }; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> core/src/resolve.rs:243:48 [INFO] [stdout] | [INFO] [stdout] 236 | / match expression.value() { [INFO] [stdout] 237 | | a::Expression::Literal(_) => {} [INFO] [stdout] | | -- this is found to be of type `()` [INFO] [stdout] 238 | | a::Expression::Ternary { cond, lhs, rhs } => { [INFO] [stdout] 239 | | self.visit_expr(cond); [INFO] [stdout] 240 | | self.visit_expr(lhs); [INFO] [stdout] 241 | | self.visit_expr(rhs) [INFO] [stdout] | | -------------------- this is found to be of type `()` [INFO] [stdout] 242 | | } [INFO] [stdout] 243 | | a::Expression::Identifier(name) => self.visit_name(name, ItemKind::Value), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `Spanned` [INFO] [stdout] ... | [INFO] [stdout] 256 | | a::Expression::Error => {} [INFO] [stdout] 257 | | } [INFO] [stdout] | |_________- `match` arms have incompatible types [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found struct `Spanned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Type` is never constructed [INFO] [stdout] --> compiler/src/token.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum TokenType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 53 | Type, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> core/src/resolve.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 277 | / if let Some(ref ty) = const_.ty { [INFO] [stdout] 278 | | self.visit_type(ty) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^ expected `()`, found `Spanned` [INFO] [stdout] 279 | | } [INFO] [stdout] | |_________- expected this to be `()` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found struct `Spanned` [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 278 | self.visit_type(ty); [INFO] [stdout] | + [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 279 | }; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> core/src/resolve.rs:224:21 [INFO] [stdout] | [INFO] [stdout] 223 | / if let Some(ty) = ty { [INFO] [stdout] 224 | | self.visit_type(ty) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^ expected `()`, found `Spanned` [INFO] [stdout] 225 | | } [INFO] [stdout] | |_________________- expected this to be `()` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found struct `Spanned` [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 224 | self.visit_type(ty); [INFO] [stdout] | + [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 225 | }; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `visitor::Visitor` [INFO] [stdout] --> core/src/resolve.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | visitor::Visitor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> core/src/resolve.rs:243:48 [INFO] [stdout] | [INFO] [stdout] 236 | / match expression.value() { [INFO] [stdout] 237 | | a::Expression::Literal(_) => {} [INFO] [stdout] | | -- this is found to be of type `()` [INFO] [stdout] 238 | | a::Expression::Ternary { cond, lhs, rhs } => { [INFO] [stdout] 239 | | self.visit_expr(cond); [INFO] [stdout] 240 | | self.visit_expr(lhs); [INFO] [stdout] 241 | | self.visit_expr(rhs) [INFO] [stdout] | | -------------------- this is found to be of type `()` [INFO] [stdout] 242 | | } [INFO] [stdout] 243 | | a::Expression::Identifier(name) => self.visit_name(name, ItemKind::Value), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `Spanned` [INFO] [stdout] ... | [INFO] [stdout] 256 | | a::Expression::Error => {} [INFO] [stdout] 257 | | } [INFO] [stdout] | |_________- `match` arms have incompatible types [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found struct `Spanned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> core/src/resolve.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 277 | / if let Some(ref ty) = const_.ty { [INFO] [stdout] 278 | | self.visit_type(ty) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^ expected `()`, found `Spanned` [INFO] [stdout] 279 | | } [INFO] [stdout] | |_________- expected this to be `()` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found struct `Spanned` [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 278 | self.visit_type(ty); [INFO] [stdout] | + [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 279 | }; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trait_` [INFO] [stdout] --> core/src/resolve.rs:283:31 [INFO] [stdout] | [INFO] [stdout] 283 | fn visit_trait(&mut self, trait_: &'ast Spanned) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_trait_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `visitor::Visitor` [INFO] [stdout] --> core/src/resolve.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | visitor::Visitor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trait_` [INFO] [stdout] --> core/src/resolve.rs:283:31 [INFO] [stdout] | [INFO] [stdout] 283 | fn visit_trait(&mut self, trait_: &'ast Spanned) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_trait_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `core` (lib) due to 4 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `core` (lib test) due to 4 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "dfed8da5da8d1094d42a7240de1e832807bb5788aa8af39c681c4b353b6aad63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfed8da5da8d1094d42a7240de1e832807bb5788aa8af39c681c4b353b6aad63", kill_on_drop: false }` [INFO] [stdout] dfed8da5da8d1094d42a7240de1e832807bb5788aa8af39c681c4b353b6aad63