[INFO] cloning repository https://github.com/nacleric/jaecheondaeseong [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nacleric/jaecheondaeseong" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnacleric%2Fjaecheondaeseong", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnacleric%2Fjaecheondaeseong'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0087efdc69133925ccf5d7262eebd0a6315e163c [INFO] checking nacleric/jaecheondaeseong against master#39b841dfe36f90a7cd111e7f0c55f32594f6e578 for pr-77035 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnacleric%2Fjaecheondaeseong" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nacleric/jaecheondaeseong on toolchain 39b841dfe36f90a7cd111e7f0c55f32594f6e578 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nacleric/jaecheondaeseong [INFO] finished tweaking git repo https://github.com/nacleric/jaecheondaeseong [INFO] tweaked toml for git repo https://github.com/nacleric/jaecheondaeseong written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/nacleric/jaecheondaeseong already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 26920cccd1166a1125104c96a5a1981e95848be120d090b53fb19fba37146bd4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "26920cccd1166a1125104c96a5a1981e95848be120d090b53fb19fba37146bd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26920cccd1166a1125104c96a5a1981e95848be120d090b53fb19fba37146bd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26920cccd1166a1125104c96a5a1981e95848be120d090b53fb19fba37146bd4", kill_on_drop: false }` [INFO] [stdout] 26920cccd1166a1125104c96a5a1981e95848be120d090b53fb19fba37146bd4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4865f156bb990a246dd3952e0686a52effc55cc9429a5a650a59d42f1798073e [INFO] running `Command { std: "docker" "start" "-a" "4865f156bb990a246dd3952e0686a52effc55cc9429a5a650a59d42f1798073e", 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] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.44 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termion v1.5.5 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling structopt-derive v0.4.13 [INFO] [stderr] Compiling thiserror-impl v1.0.21 [INFO] [stderr] Checking thiserror v1.0.21 [INFO] [stderr] Checking structopt v0.3.20 [INFO] [stderr] Checking mori v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `unicode_segmentation::UnicodeSegmentation` [INFO] [stdout] --> src/buffer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use unicode_segmentation::UnicodeSegmentation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unicode_segmentation::UnicodeSegmentation` [INFO] [stdout] --> src/buffer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use unicode_segmentation::UnicodeSegmentation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | buf.delete_glyph(direction::Direction::Backward); [INFO] [stdout] | ^^^^^^^^^^^^ ------------------------------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/interfaces/glyph_buffer.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn delete_glyph(&mut self, direction: Direction, pos: Position) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | buf.delete_glyph(direction::Direction::Forward); [INFO] [stdout] | ^^^^^^^^^^^^ ----------------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/interfaces/glyph_buffer.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn delete_glyph(&mut self, direction: Direction, pos: Position) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | buf.move_right(); [INFO] [stdout] | ^^^^^^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/interfaces/glyph_buffer.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | fn move_right(&mut self, pos: Position) -> Option; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/buffer.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | self.insert_glyph(c); [INFO] [stdout] | ^^^^^^^^^^^^ - supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/interfaces/glyph_buffer.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn insert_glyph(&mut self, glyph: char, pos: Position) -> Position; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mori` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | buf.delete_glyph(direction::Direction::Backward); [INFO] [stdout] | ^^^^^^^^^^^^ ------------------------------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/interfaces/glyph_buffer.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn delete_glyph(&mut self, direction: Direction, pos: Position) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | buf.delete_glyph(direction::Direction::Forward); [INFO] [stdout] | ^^^^^^^^^^^^ ----------------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/interfaces/glyph_buffer.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn delete_glyph(&mut self, direction: Direction, pos: Position) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | buf.move_right(); [INFO] [stdout] | ^^^^^^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/interfaces/glyph_buffer.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | fn move_right(&mut self, pos: Position) -> Option; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/buffer.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | self.insert_glyph(c); [INFO] [stdout] | ^^^^^^^^^^^^ - supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/interfaces/glyph_buffer.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn insert_glyph(&mut self, glyph: char, pos: Position) -> Position; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/buffer/unit_tests/delete_glyph.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | let res = sut.delete_glyph(Direction::Backward); [INFO] [stdout] | ^^^^^^^^^^^^ ------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/interfaces/glyph_buffer.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn delete_glyph(&mut self, direction: Direction, pos: Position) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/buffer/unit_tests/delete_glyph.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | let res = sut.delete_glyph(Direction::Forward); [INFO] [stdout] | ^^^^^^^^^^^^ ------------------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/interfaces/glyph_buffer.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn delete_glyph(&mut self, direction: Direction, pos: Position) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/buffer/unit_tests/delete_glyph.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | sut.insert_glyph(glyph); [INFO] [stdout] | ^^^^^^^^^^^^ ----- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/interfaces/glyph_buffer.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn insert_glyph(&mut self, glyph: char, pos: Position) -> Position; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_pos` found for struct `buffer::Buffer` in the current scope [INFO] [stdout] --> src/buffer/unit_tests/delete_glyph.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | sut.set_pos(Position::new(cursor_pos, 0)).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `buffer::Buffer` [INFO] [stdout] | [INFO] [stdout] ::: src/buffer.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Buffer { [INFO] [stdout] | ----------------- method `set_pos` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/buffer/unit_tests/delete_glyph.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | let res = sut.delete_glyph(Direction::Backward); [INFO] [stdout] | ^^^^^^^^^^^^ ------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/interfaces/glyph_buffer.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn delete_glyph(&mut self, direction: Direction, pos: Position) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/buffer/unit_tests/delete_glyph.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | sut.insert_glyph(glyph); [INFO] [stdout] | ^^^^^^^^^^^^ ----- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/interfaces/glyph_buffer.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn insert_glyph(&mut self, glyph: char, pos: Position) -> Position; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_pos` found for struct `buffer::Buffer` in the current scope [INFO] [stdout] --> src/buffer/unit_tests/delete_glyph.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | sut.set_pos(Position::new(cursor_pos, 0)).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `buffer::Buffer` [INFO] [stdout] | [INFO] [stdout] ::: src/buffer.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Buffer { [INFO] [stdout] | ----------------- method `set_pos` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/buffer/unit_tests/delete_glyph.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | let res = sut.delete_glyph(Direction::Backward); [INFO] [stdout] | ^^^^^^^^^^^^ ------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/interfaces/glyph_buffer.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn delete_glyph(&mut self, direction: Direction, pos: Position) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/buffer/unit_tests/delete_glyph.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | sut.insert_glyph(glyph); [INFO] [stdout] | ^^^^^^^^^^^^ ----- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/interfaces/glyph_buffer.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn insert_glyph(&mut self, glyph: char, pos: Position) -> Position; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_pos` found for struct `buffer::Buffer` in the current scope [INFO] [stdout] --> src/buffer/unit_tests/delete_glyph.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | sut.set_pos(Position::new(0, 0))?; [INFO] [stdout] | ^^^^^^^ method not found in `buffer::Buffer` [INFO] [stdout] | [INFO] [stdout] ::: src/buffer.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Buffer { [INFO] [stdout] | ----------------- method `set_pos` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/buffer/unit_tests/delete_glyph.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 82 | let res = sut.delete_glyph(Direction::Forward); [INFO] [stdout] | ^^^^^^^^^^^^ ------------------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/interfaces/glyph_buffer.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn delete_glyph(&mut self, direction: Direction, pos: Position) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/buffer/unit_tests/delete_glyph.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | sut.insert_glyph(glyph); [INFO] [stdout] | ^^^^^^^^^^^^ ----- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/interfaces/glyph_buffer.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn insert_glyph(&mut self, glyph: char, pos: Position) -> Position; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_pos` found for struct `buffer::Buffer` in the current scope [INFO] [stdout] --> src/buffer/unit_tests/delete_glyph.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | sut.set_pos(Position::new(0, 0))?; [INFO] [stdout] | ^^^^^^^ method not found in `buffer::Buffer` [INFO] [stdout] | [INFO] [stdout] ::: src/buffer.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Buffer { [INFO] [stdout] | ----------------- method `set_pos` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/buffer/unit_tests/delete_glyph.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | let res = sut.delete_glyph(Direction::Forward); [INFO] [stdout] | ^^^^^^^^^^^^ ------------------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/interfaces/glyph_buffer.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn delete_glyph(&mut self, direction: Direction, pos: Position) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_pos` found for struct `buffer::Buffer` in the current scope [INFO] [stdout] --> src/buffer/unit_tests/delete_glyph.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | sut.set_pos(Position::new(glyph_pos, 0))?; [INFO] [stdout] | ^^^^^^^ method not found in `buffer::Buffer` [INFO] [stdout] | [INFO] [stdout] ::: src/buffer.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Buffer { [INFO] [stdout] | ----------------- method `set_pos` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/buffer/unit_tests/delete_glyph.rs:123:19 [INFO] [stdout] | [INFO] [stdout] 123 | let res = sut.delete_glyph(Direction::Backward); [INFO] [stdout] | ^^^^^^^^^^^^ ------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/interfaces/glyph_buffer.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn delete_glyph(&mut self, direction: Direction, pos: Position) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/buffer/unit_tests/delete_glyph.rs:127:20 [INFO] [stdout] | [INFO] [stdout] 127 | assert_eq!(sut.row_content(), expected_buffer.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/interfaces/glyph_buffer.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn row_content(&self, pos: Position) -> &[u8]; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_pos` found for struct `buffer::Buffer` in the current scope [INFO] [stdout] --> src/buffer/unit_tests/delete_glyph.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | sut.set_pos(Position::new(cursor_pos, 0))?; [INFO] [stdout] | ^^^^^^^ method not found in `buffer::Buffer` [INFO] [stdout] | [INFO] [stdout] ::: src/buffer.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Buffer { [INFO] [stdout] | ----------------- method `set_pos` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/buffer/unit_tests/delete_glyph.rs:143:19 [INFO] [stdout] | [INFO] [stdout] 143 | let res = sut.delete_glyph(Direction::Forward); [INFO] [stdout] | ^^^^^^^^^^^^ ------------------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/interfaces/glyph_buffer.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn delete_glyph(&mut self, direction: Direction, pos: Position) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/buffer/unit_tests/delete_glyph.rs:147:20 [INFO] [stdout] | [INFO] [stdout] 147 | assert_eq!(sut.row_content(), expected_buffer.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/interfaces/glyph_buffer.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn row_content(&self, pos: Position) -> &[u8]; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/buffer/unit_tests/delete_glyphs.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(res.row_content(), expected_result.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/interfaces/glyph_buffer.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn row_content(&self, pos: Position) -> &[u8]; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/buffer/unit_tests/insert_glyph.rs:10:40 [INFO] [stdout] | [INFO] [stdout] 10 | let expected_result = Buffer::from(vec![glyph.to_string()]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected struct `buffer::Buffer`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `buffer::Buffer` [INFO] [stdout] found struct `Vec` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/buffer/unit_tests/insert_glyph.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | let res = sut.insert_glyph(glyph); [INFO] [stdout] | ^^^^^^^^^^^^ ----- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/interfaces/glyph_buffer.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn insert_glyph(&mut self, glyph: char, pos: Position) -> Position; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `row_content` found for struct `position::Position` in the current scope [INFO] [stdout] --> src/buffer/unit_tests/insert_glyph.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | assert_eq!(res.row_content(), expected_result.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `position::Position` [INFO] [stdout] | [INFO] [stdout] ::: src/position.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Position { [INFO] [stdout] | ------------------- method `row_content` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `glyph_buffer::GlyphBuffer` defines an item `row_content`, perhaps you need to implement it [INFO] [stdout] --> src/interfaces/glyph_buffer.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait GlyphBuffer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/buffer/unit_tests/insert_glyph.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | let res = sut.insert_glyph(escape_character_glyph); [INFO] [stdout] | ^^^^^^^^^^^^ ---------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/interfaces/glyph_buffer.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn insert_glyph(&mut self, glyph: char, pos: Position) -> Position; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `row_content` found for struct `position::Position` in the current scope [INFO] [stdout] --> src/buffer/unit_tests/insert_glyph.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | assert_eq!(res.row_content(), expected_result.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `position::Position` [INFO] [stdout] | [INFO] [stdout] ::: src/position.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Position { [INFO] [stdout] | ------------------- method `row_content` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `glyph_buffer::GlyphBuffer` defines an item `row_content`, perhaps you need to implement it [INFO] [stdout] --> src/interfaces/glyph_buffer.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait GlyphBuffer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/buffer/unit_tests/insert_glyph.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | let res = sut.insert_glyph(escape_character_glyph); [INFO] [stdout] | ^^^^^^^^^^^^ ---------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/interfaces/glyph_buffer.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn insert_glyph(&mut self, glyph: char, pos: Position) -> Position; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `row_content` found for struct `position::Position` in the current scope [INFO] [stdout] --> src/buffer/unit_tests/insert_glyph.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | assert_eq!(res.row_content(), expected_result.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `position::Position` [INFO] [stdout] | [INFO] [stdout] ::: src/position.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Position { [INFO] [stdout] | ------------------- method `row_content` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `glyph_buffer::GlyphBuffer` defines an item `row_content`, perhaps you need to implement it [INFO] [stdout] --> src/interfaces/glyph_buffer.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait GlyphBuffer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/buffer/unit_tests/insert_glyph.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 82 | assert_eq!(res.row_content(), expected_result.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/interfaces/glyph_buffer.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn row_content(&self, pos: Position) -> &[u8]; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_pos` found for struct `buffer::Buffer` in the current scope [INFO] [stdout] --> src/buffer/unit_tests/insert_glyph.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | sut.set_pos(Position::new(glyph_pos, 0))?; [INFO] [stdout] | ^^^^^^^ method not found in `buffer::Buffer` [INFO] [stdout] | [INFO] [stdout] ::: src/buffer.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Buffer { [INFO] [stdout] | ----------------- method `set_pos` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/buffer/unit_tests/insert_glyph.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 98 | let res = sut.insert_glyph(glyph); [INFO] [stdout] | ^^^^^^^^^^^^ ----- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/interfaces/glyph_buffer.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn insert_glyph(&mut self, glyph: char, pos: Position) -> Position; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `row_content` found for struct `position::Position` in the current scope [INFO] [stdout] --> src/buffer/unit_tests/insert_glyph.rs:101:20 [INFO] [stdout] | [INFO] [stdout] 101 | assert_eq!(res.row_content(), expected_result.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `position::Position` [INFO] [stdout] | [INFO] [stdout] ::: src/position.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Position { [INFO] [stdout] | ------------------- method `row_content` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `glyph_buffer::GlyphBuffer` defines an item `row_content`, perhaps you need to implement it [INFO] [stdout] --> src/interfaces/glyph_buffer.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait GlyphBuffer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/buffer/unit_tests/insert_glyphs.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(res.row_content(), expected_result.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/interfaces/glyph_buffer.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn row_content(&self, pos: Position) -> &[u8]; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/buffer/unit_tests/insert_glyphs.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | assert_eq!(res.row_content(), expected_result.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/interfaces/glyph_buffer.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn row_content(&self, pos: Position) -> &[u8]; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pos` found for struct `buffer::Buffer` in the current scope [INFO] [stdout] --> src/buffer/unit_tests/set_pos.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | let res = sut.pos(); [INFO] [stdout] | ^^^ method not found in `buffer::Buffer` [INFO] [stdout] | [INFO] [stdout] ::: src/buffer.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Buffer { [INFO] [stdout] | ----------------- method `pos` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_pos` found for struct `buffer::Buffer` in the current scope [INFO] [stdout] --> src/buffer/unit_tests/set_pos.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | let res = sut.set_pos(invalid_pos); [INFO] [stdout] | ^^^^^^^ method not found in `buffer::Buffer` [INFO] [stdout] | [INFO] [stdout] ::: src/buffer.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Buffer { [INFO] [stdout] | ----------------- method `set_pos` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/buffer/unit_tests/show.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | buf.insert_glyph('a'); [INFO] [stdout] | ^^^^^^^^^^^^ --- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/interfaces/glyph_buffer.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn insert_glyph(&mut self, glyph: char, pos: Position) -> Position; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 41 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4865f156bb990a246dd3952e0686a52effc55cc9429a5a650a59d42f1798073e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4865f156bb990a246dd3952e0686a52effc55cc9429a5a650a59d42f1798073e", kill_on_drop: false }` [INFO] [stdout] 4865f156bb990a246dd3952e0686a52effc55cc9429a5a650a59d42f1798073e