[INFO] cloning repository https://github.com/jmdejong/tsorak [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jmdejong/tsorak" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmdejong%2Ftsorak", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmdejong%2Ftsorak'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 38553faea8dde0ed52d6520054d20b4c9020189d [INFO] testing jmdejong/tsorak against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmdejong%2Ftsorak" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jmdejong/tsorak on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jmdejong/tsorak [INFO] finished tweaking git repo https://github.com/jmdejong/tsorak [INFO] tweaked toml for git repo https://github.com/jmdejong/tsorak written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/jmdejong/tsorak already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ee91b98c452d1e2fb94b817c8d0cf7b87f63ad3bdde2f205fdae0cd9dea5343 [INFO] running `Command { std: "docker" "start" "-a" "0ee91b98c452d1e2fb94b817c8d0cf7b87f63ad3bdde2f205fdae0cd9dea5343", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ee91b98c452d1e2fb94b817c8d0cf7b87f63ad3bdde2f205fdae0cd9dea5343", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ee91b98c452d1e2fb94b817c8d0cf7b87f63ad3bdde2f205fdae0cd9dea5343", kill_on_drop: false }` [INFO] [stdout] 0ee91b98c452d1e2fb94b817c8d0cf7b87f63ad3bdde2f205fdae0cd9dea5343 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cdf1203455718808b210f93fadc79d8bacbd3c11923f15c348dd1606cdc30a21 [INFO] running `Command { std: "docker" "start" "-a" "cdf1203455718808b210f93fadc79d8bacbd3c11923f15c348dd1606cdc30a21", kill_on_drop: false }` [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Compiling ncurses v5.101.0 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling pancurses v0.16.1 [INFO] [stderr] Compiling tsorak v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Style` [INFO] [stdout] --> src/cursedscreen.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | brush::{Brush, Style}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ShapeObject`, `Vector3` [INFO] [stdout] --> src/rtrender.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | scene::{Scene, ShapeObject, Column, Hit}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | Vector3, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Style` [INFO] [stdout] --> src/texture.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | brush::{Brush, Style}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DebugScreen` [INFO] [stdout] --> src/main.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | use screen::{Screen, DebugScreen}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth_buffer` [INFO] [stdout] --> src/rtrender.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | let mut depth_buffer: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_depth_buffer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest_x` [INFO] [stdout] --> src/screen.rs:28:56 [INFO] [stdout] | [INFO] [stdout] 28 | fn write_screen_buffer(&self, buffer: &ScreenBuffer, (dest_x, dest_y): (usize, usize), (src_x, src_y): (usize, usize), (width, height... [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest_y` [INFO] [stdout] --> src/screen.rs:28:64 [INFO] [stdout] | [INFO] [stdout] 28 | ...fer: &ScreenBuffer, (dest_x, dest_y): (usize, usize), (src_x, src_y): (usize, usize), (width, height): (usize, usize)){ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src_x` [INFO] [stdout] --> src/screen.rs:28:90 [INFO] [stdout] | [INFO] [stdout] 28 | ..._x, dest_y): (usize, usize), (src_x, src_y): (usize, usize), (width, height): (usize, usize)){ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_src_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src_y` [INFO] [stdout] --> src/screen.rs:28:97 [INFO] [stdout] | [INFO] [stdout] 28 | ...t_y): (usize, usize), (src_x, src_y): (usize, usize), (width, height): (usize, usize)){ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_src_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/screen.rs:28:122 [INFO] [stdout] | [INFO] [stdout] 28 | ...c_x, src_y): (usize, usize), (width, height): (usize, usize)){ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/screen.rs:28:129 [INFO] [stdout] | [INFO] [stdout] 28 | ..._y): (usize, usize), (width, height): (usize, usize)){ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rtrender.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | let mut depth_buffer: Vec = Vec::new(); [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: associated function is never used: `new` [INFO] [stdout] --> src/brush.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(fg: Color, bg: Color) -> Style { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `npairs` [INFO] [stdout] --> src/cursedscreen.rs:20:2 [INFO] [stdout] | [INFO] [stdout] 20 | npairs: i16 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Colors` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cursedscreen.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Clone)] [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: `moved` [INFO] [stdout] --> src/scene.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn moved(&self, d: Vector3) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sin` [INFO] [stdout] --> src/util.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn sin(&self) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cos` [INFO] [stdout] --> src/util.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn cos(&self) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `view_direction` [INFO] [stdout] --> src/player.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn view_direction(&self) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `speed` should have an upper case name [INFO] [stdout] --> src/player.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const speed: f32 = 0.5; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `SPEED` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.76s [INFO] running `Command { std: "docker" "inspect" "cdf1203455718808b210f93fadc79d8bacbd3c11923f15c348dd1606cdc30a21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdf1203455718808b210f93fadc79d8bacbd3c11923f15c348dd1606cdc30a21", kill_on_drop: false }` [INFO] [stdout] cdf1203455718808b210f93fadc79d8bacbd3c11923f15c348dd1606cdc30a21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee8d28cbfba7192b558ff3f280efad949d27c5ae0be1202209d7026000591d12 [INFO] running `Command { std: "docker" "start" "-a" "ee8d28cbfba7192b558ff3f280efad949d27c5ae0be1202209d7026000591d12", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling tsorak v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `Style` in this scope [INFO] [stdout] --> src/screenbuffer.rs:81:15 [INFO] [stdout] | [INFO] [stdout] 81 | const style: Style = Style{fg: Color::LightGray, bg: Color::Black}; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 77 | use crate::brush::Style; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Style` in this scope [INFO] [stdout] --> src/screenbuffer.rs:81:23 [INFO] [stdout] | [INFO] [stdout] 81 | const style: Style = Style{fg: Color::LightGray, bg: Color::Black}; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 77 | use crate::brush::Style; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Style` [INFO] [stdout] --> src/cursedscreen.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | brush::{Brush, Style}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ShapeObject`, `Vector3` [INFO] [stdout] --> src/rtrender.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | scene::{Scene, ShapeObject, Column, Hit}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | Vector3, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Style` [INFO] [stdout] --> src/texture.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | brush::{Brush, Style}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DebugScreen` [INFO] [stdout] --> src/main.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | use screen::{Screen, DebugScreen}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `LightGray` found for struct `Color` in the current scope [INFO] [stdout] --> src/screenbuffer.rs:81:40 [INFO] [stdout] | [INFO] [stdout] 81 | const style: Style = Style{fg: Color::LightGray, bg: Color::Black}; [INFO] [stdout] | ^^^^^^^^^ associated item not found in `Color` [INFO] [stdout] | [INFO] [stdout] ::: src/brush.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Color(pub u8); [INFO] [stdout] | ------------------------- associated item `LightGray` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Black` found for struct `Color` in the current scope [INFO] [stdout] --> src/screenbuffer.rs:81:62 [INFO] [stdout] | [INFO] [stdout] 81 | const style: Style = Style{fg: Color::LightGray, bg: Color::Black}; [INFO] [stdout] | ^^^^^ associated item not found in `Color` [INFO] [stdout] | [INFO] [stdout] ::: src/brush.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Color(pub u8); [INFO] [stdout] | ------------------------- associated item `Black` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/screenbuffer.rs:87:22 [INFO] [stdout] | [INFO] [stdout] 87 | buffer.set((5, 7), brush('@', style)); [INFO] [stdout] | ^^^^^ --- ----- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/brush.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn brush(ch: char, fg: u8, bg: u8) -> Brush { [INFO] [stdout] | ^^^^^ -------- ------ ------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/screenbuffer.rs:87:22 [INFO] [stdout] | [INFO] [stdout] 87 | buffer.set((5, 7), brush('@', style)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected enum `Option`, found struct `Brush` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Brush` [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 87 | buffer.set((5, 7), Some(brush('@', style))); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_cell` found for struct `screenbuffer::ScreenBuffer` in the current scope [INFO] [stdout] --> src/screenbuffer.rs:88:18 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ScreenBuffer { [INFO] [stdout] | ----------------------- method `get_cell` not found for this [INFO] [stdout] ... [INFO] [stdout] 88 | let c = buffer.get_cell((5,7)); [INFO] [stdout] | ^^^^^^^^ method not found in `screenbuffer::ScreenBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/screenbuffer.rs:91:22 [INFO] [stdout] | [INFO] [stdout] 91 | buffer.set((5, 8), brush('0', style)); [INFO] [stdout] | ^^^^^ --- ----- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/brush.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn brush(ch: char, fg: u8, bg: u8) -> Brush { [INFO] [stdout] | ^^^^^ -------- ------ ------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/screenbuffer.rs:91:22 [INFO] [stdout] | [INFO] [stdout] 91 | buffer.set((5, 8), brush('0', style)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected enum `Option`, found struct `Brush` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Brush` [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 91 | buffer.set((5, 8), Some(brush('0', style))); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/screenbuffer.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | buffer.set((5, 7), brush('1', style)); [INFO] [stdout] | ^^^^^ --- ----- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/brush.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn brush(ch: char, fg: u8, bg: u8) -> Brush { [INFO] [stdout] | ^^^^^ -------- ------ ------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/screenbuffer.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | buffer.set((5, 7), brush('1', style)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected enum `Option`, found struct `Brush` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Brush` [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 92 | buffer.set((5, 7), Some(brush('1', style))); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/screenbuffer.rs:93:22 [INFO] [stdout] | [INFO] [stdout] 93 | buffer.set((5, 7), brush('2', style)); [INFO] [stdout] | ^^^^^ --- ----- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/brush.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn brush(ch: char, fg: u8, bg: u8) -> Brush { [INFO] [stdout] | ^^^^^ -------- ------ ------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/screenbuffer.rs:93:22 [INFO] [stdout] | [INFO] [stdout] 93 | buffer.set((5, 7), brush('2', style)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected enum `Option`, found struct `Brush` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Brush` [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 93 | buffer.set((5, 7), Some(brush('2', style))); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_cell` found for struct `screenbuffer::ScreenBuffer` in the current scope [INFO] [stdout] --> src/screenbuffer.rs:94:18 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ScreenBuffer { [INFO] [stdout] | ----------------------- method `get_cell` not found for this [INFO] [stdout] ... [INFO] [stdout] 94 | let c = buffer.get_cell((5,7)); [INFO] [stdout] | ^^^^^^^^ method not found in `screenbuffer::ScreenBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/screenbuffer.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | buffer.set((5, 7), brush('#', style)); [INFO] [stdout] | ^^^^^ --- ----- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/brush.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn brush(ch: char, fg: u8, bg: u8) -> Brush { [INFO] [stdout] | ^^^^^ -------- ------ ------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/screenbuffer.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | buffer.set((5, 7), brush('#', style)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected enum `Option`, found struct `Brush` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Brush` [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 97 | buffer.set((5, 7), Some(brush('#', style))); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_cell` found for struct `screenbuffer::ScreenBuffer` in the current scope [INFO] [stdout] --> src/screenbuffer.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ScreenBuffer { [INFO] [stdout] | ----------------------- method `get_cell` not found for this [INFO] [stdout] ... [INFO] [stdout] 98 | let c = buffer.get_cell((5,7)); [INFO] [stdout] | ^^^^^^^^ method not found in `screenbuffer::ScreenBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clear` found for struct `screenbuffer::ScreenBuffer` in the current scope [INFO] [stdout] --> src/screenbuffer.rs:101:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ScreenBuffer { [INFO] [stdout] | ----------------------- method `clear` not found for this [INFO] [stdout] ... [INFO] [stdout] 101 | buffer.clear(); [INFO] [stdout] | ^^^^^ method not found in `screenbuffer::ScreenBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_cell` found for struct `screenbuffer::ScreenBuffer` in the current scope [INFO] [stdout] --> src/screenbuffer.rs:102:18 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ScreenBuffer { [INFO] [stdout] | ----------------------- method `get_cell` not found for this [INFO] [stdout] ... [INFO] [stdout] 102 | let c = buffer.get_cell((5,7)); [INFO] [stdout] | ^^^^^^^^ method not found in `screenbuffer::ScreenBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/screenbuffer.rs:109:22 [INFO] [stdout] | [INFO] [stdout] 109 | buffer.set((1, 1), brush('b', style)); [INFO] [stdout] | ^^^^^ --- ----- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/brush.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn brush(ch: char, fg: u8, bg: u8) -> Brush { [INFO] [stdout] | ^^^^^ -------- ------ ------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/screenbuffer.rs:109:22 [INFO] [stdout] | [INFO] [stdout] 109 | buffer.set((1, 1), brush('b', style)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected enum `Option`, found struct `Brush` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Brush` [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 109 | buffer.set((1, 1), Some(brush('b', style))); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/screenbuffer.rs:110:22 [INFO] [stdout] | [INFO] [stdout] 110 | buffer.set((3, 1), brush('f', style)); [INFO] [stdout] | ^^^^^ --- ----- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/brush.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn brush(ch: char, fg: u8, bg: u8) -> Brush { [INFO] [stdout] | ^^^^^ -------- ------ ------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/screenbuffer.rs:110:22 [INFO] [stdout] | [INFO] [stdout] 110 | buffer.set((3, 1), brush('f', style)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected enum `Option`, found struct `Brush` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Brush` [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 110 | buffer.set((3, 1), Some(brush('f', style))); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/screenbuffer.rs:111:22 [INFO] [stdout] | [INFO] [stdout] 111 | buffer.set((4, 4), brush('z', style)); [INFO] [stdout] | ^^^^^ --- ----- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/brush.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn brush(ch: char, fg: u8, bg: u8) -> Brush { [INFO] [stdout] | ^^^^^ -------- ------ ------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/screenbuffer.rs:111:22 [INFO] [stdout] | [INFO] [stdout] 111 | buffer.set((4, 4), brush('z', style)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected enum `Option`, found struct `Brush` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Brush` [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 111 | buffer.set((4, 4), Some(brush('z', style))); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/screenbuffer.rs:112:22 [INFO] [stdout] | [INFO] [stdout] 112 | buffer.set((0, 0), brush('a', style)); [INFO] [stdout] | ^^^^^ --- ----- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/brush.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn brush(ch: char, fg: u8, bg: u8) -> Brush { [INFO] [stdout] | ^^^^^ -------- ------ ------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/screenbuffer.rs:112:22 [INFO] [stdout] | [INFO] [stdout] 112 | buffer.set((0, 0), brush('a', style)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected enum `Option`, found struct `Brush` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Brush` [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 112 | buffer.set((0, 0), Some(brush('a', style))); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/screenbuffer.rs:113:22 [INFO] [stdout] | [INFO] [stdout] 113 | buffer.set((1, 1), brush('h', style)); [INFO] [stdout] | ^^^^^ --- ----- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/brush.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn brush(ch: char, fg: u8, bg: u8) -> Brush { [INFO] [stdout] | ^^^^^ -------- ------ ------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/screenbuffer.rs:113:22 [INFO] [stdout] | [INFO] [stdout] 113 | buffer.set((1, 1), brush('h', style)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected enum `Option`, found struct `Brush` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Brush` [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 113 | buffer.set((1, 1), Some(brush('h', style))); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/screenbuffer.rs:114:22 [INFO] [stdout] | [INFO] [stdout] 114 | buffer.set((1, 1), brush('g', style)); [INFO] [stdout] | ^^^^^ --- ----- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/brush.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn brush(ch: char, fg: u8, bg: u8) -> Brush { [INFO] [stdout] | ^^^^^ -------- ------ ------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/screenbuffer.rs:114:22 [INFO] [stdout] | [INFO] [stdout] 114 | buffer.set((1, 1), brush('g', style)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected enum `Option`, found struct `Brush` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Brush` [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 114 | buffer.set((1, 1), Some(brush('g', style))); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clear` found for struct `screenbuffer::ScreenBuffer` in the current scope [INFO] [stdout] --> src/screenbuffer.rs:125:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ScreenBuffer { [INFO] [stdout] | ----------------------- method `clear` not found for this [INFO] [stdout] ... [INFO] [stdout] 125 | buffer.clear(); [INFO] [stdout] | ^^^^^ method not found in `screenbuffer::ScreenBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 32 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0412, E0422, E0599. [INFO] [stdout] [INFO] [stderr] error: could not compile `tsorak` due to 33 previous errors; 4 warnings emitted [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ee8d28cbfba7192b558ff3f280efad949d27c5ae0be1202209d7026000591d12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee8d28cbfba7192b558ff3f280efad949d27c5ae0be1202209d7026000591d12", kill_on_drop: false }` [INFO] [stdout] ee8d28cbfba7192b558ff3f280efad949d27c5ae0be1202209d7026000591d12