[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] 5e377d0e182c9980dd67dcffc729f4b48c33a618 [INFO] checking nacleric/jaecheondaeseong against master#b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 for pr-79470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnacleric%2Fjaecheondaeseong" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nacleric/jaecheondaeseong on toolchain b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "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-9/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" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91eda6c46389866b587ea43d8a250e8e4423740f10749b6f7e08dccc45ed7cc6 [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" "91eda6c46389866b587ea43d8a250e8e4423740f10749b6f7e08dccc45ed7cc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91eda6c46389866b587ea43d8a250e8e4423740f10749b6f7e08dccc45ed7cc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91eda6c46389866b587ea43d8a250e8e4423740f10749b6f7e08dccc45ed7cc6", kill_on_drop: false }` [INFO] [stdout] 91eda6c46389866b587ea43d8a250e8e4423740f10749b6f7e08dccc45ed7cc6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "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] 6d737a141e698291e53f0929f453d9ec9fab5628de67c3109354323bfb892f46 [INFO] running `Command { std: "docker" "start" "-a" "6d737a141e698291e53f0929f453d9ec9fab5628de67c3109354323bfb892f46", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.44 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error 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 thiserror-impl v1.0.21 [INFO] [stderr] Compiling structopt-derive v0.4.13 [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] error[E0609]: no field `data` on type `&mut buffer::Buffer` [INFO] [stdout] --> src/buffer.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | self.data.clear(); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/buffer.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | 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[E0609]: no field `data` on type `&buffer::Buffer` [INFO] [stdout] --> src/buffer.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | self.data.as_bytes() [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `data` on type `&mut buffer::Buffer` [INFO] [stdout] --> src/buffer.rs:111:14 [INFO] [stdout] | [INFO] [stdout] 111 | self.data.insert(self.index(), glyph); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `pos` on type `&mut buffer::Buffer` [INFO] [stdout] --> src/buffer.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | self.pos = Position::new(self.pos().col(), self.pos().row().saturating_add(1)); [INFO] [stdout] | ^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] = help: methods are immutable and cannot be assigned to [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `pos` on type `&mut buffer::Buffer` [INFO] [stdout] --> src/buffer.rs:126:14 [INFO] [stdout] | [INFO] [stdout] 126 | self.pos = Position::new(self.pos().col().saturating_sub(1), self.pos().row()); [INFO] [stdout] | ^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] = help: methods are immutable and cannot be assigned to [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `pos` on type `&mut buffer::Buffer` [INFO] [stdout] --> src/buffer.rs:131:14 [INFO] [stdout] | [INFO] [stdout] 131 | self.pos = Position::new(self.pos().col().saturating_add(1), self.pos().row()); [INFO] [stdout] | ^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] = help: methods are immutable and cannot be assigned to [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `pos` on type `&mut buffer::Buffer` [INFO] [stdout] --> src/buffer.rs:136:14 [INFO] [stdout] | [INFO] [stdout] 136 | self.pos = Position::new(self.pos().col(), self.pos().row().saturating_sub(1)); [INFO] [stdout] | ^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] = help: methods are immutable and cannot be assigned to [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `pos` on type `&buffer::Buffer` [INFO] [stdout] --> src/buffer.rs:141:14 [INFO] [stdout] | [INFO] [stdout] 141 | self.pos [INFO] [stdout] | ^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 141 | self.pos() [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `data` on type `&buffer::Buffer` [INFO] [stdout] --> src/buffer.rs:149:18 [INFO] [stdout] | [INFO] [stdout] 149 | .data[self.pos().row()] // .data is for Row Buffer? Assumes Vector [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `data` on type `&mut buffer::Buffer` [INFO] [stdout] --> src/buffer.rs:158:14 [INFO] [stdout] | [INFO] [stdout] 158 | self.data = data; [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `pos` on type `&mut buffer::Buffer` [INFO] [stdout] --> src/buffer.rs:168:22 [INFO] [stdout] | [INFO] [stdout] 168 | self.pos = pos; [INFO] [stdout] | ^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] = help: methods are immutable and cannot be assigned to [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: aborting due to 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0609, E0615. [INFO] [stdout] [INFO] [stdout] For more information about an 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[E0609]: no field `data` on type `&mut buffer::Buffer` [INFO] [stdout] --> src/buffer.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | self.data.clear(); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/buffer.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | 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[E0609]: no field `data` on type `&buffer::Buffer` [INFO] [stdout] --> src/buffer.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | self.data.as_bytes() [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `data` on type `&mut buffer::Buffer` [INFO] [stdout] --> src/buffer.rs:111:14 [INFO] [stdout] | [INFO] [stdout] 111 | self.data.insert(self.index(), glyph); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `pos` on type `&mut buffer::Buffer` [INFO] [stdout] --> src/buffer.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | self.pos = Position::new(self.pos().col(), self.pos().row().saturating_add(1)); [INFO] [stdout] | ^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] = help: methods are immutable and cannot be assigned to [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `pos` on type `&mut buffer::Buffer` [INFO] [stdout] --> src/buffer.rs:126:14 [INFO] [stdout] | [INFO] [stdout] 126 | self.pos = Position::new(self.pos().col().saturating_sub(1), self.pos().row()); [INFO] [stdout] | ^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] = help: methods are immutable and cannot be assigned to [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `pos` on type `&mut buffer::Buffer` [INFO] [stdout] --> src/buffer.rs:131:14 [INFO] [stdout] | [INFO] [stdout] 131 | self.pos = Position::new(self.pos().col().saturating_add(1), self.pos().row()); [INFO] [stdout] | ^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] = help: methods are immutable and cannot be assigned to [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `pos` on type `&mut buffer::Buffer` [INFO] [stdout] --> src/buffer.rs:136:14 [INFO] [stdout] | [INFO] [stdout] 136 | self.pos = Position::new(self.pos().col(), self.pos().row().saturating_sub(1)); [INFO] [stdout] | ^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] = help: methods are immutable and cannot be assigned to [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `pos` on type `&buffer::Buffer` [INFO] [stdout] --> src/buffer.rs:141:14 [INFO] [stdout] | [INFO] [stdout] 141 | self.pos [INFO] [stdout] | ^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 141 | self.pos() [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `data` on type `&buffer::Buffer` [INFO] [stdout] --> src/buffer.rs:149:18 [INFO] [stdout] | [INFO] [stdout] 149 | .data[self.pos().row()] // .data is for Row Buffer? Assumes Vector [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `data` on type `&mut buffer::Buffer` [INFO] [stdout] --> src/buffer.rs:158:14 [INFO] [stdout] | [INFO] [stdout] 158 | self.data = data; [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `pos` on type `&mut buffer::Buffer` [INFO] [stdout] --> src/buffer.rs:168:22 [INFO] [stdout] | [INFO] [stdout] 168 | self.pos = pos; [INFO] [stdout] | ^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] = help: methods are immutable and cannot be assigned to [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[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[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[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[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[E0599]: no method named `as_bytes` found for struct `buffer::Buffer` in the current scope [INFO] [stdout] --> src/buffer/unit_tests/insert_glyph.rs:20:48 [INFO] [stdout] | [INFO] [stdout] 20 | assert_eq!(sut.contents(), expected_result.as_bytes()); [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 `as_bytes` 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: the following trait defines an item `as_bytes`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `OsStrExt` [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 `contents` 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.contents(), 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 `contents` 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 `contents`, 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 `contents` 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.contents(), 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 `contents` 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 `contents`, 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 `contents` 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.contents(), 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 `contents` 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 `contents`, 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: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 `contents` 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.contents(), 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 `contents` 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 `contents`, 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/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] 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: aborting due to 27 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0599, E0609, E0615. [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" "6d737a141e698291e53f0929f453d9ec9fab5628de67c3109354323bfb892f46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d737a141e698291e53f0929f453d9ec9fab5628de67c3109354323bfb892f46", kill_on_drop: false }` [INFO] [stdout] 6d737a141e698291e53f0929f453d9ec9fab5628de67c3109354323bfb892f46