[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 try#9b49d8c6c904f63eb486fe51b14bbe0aa2feda4c for pr-79472 [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 9b49d8c6c904f63eb486fe51b14bbe0aa2feda4c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9b49d8c6c904f63eb486fe51b14bbe0aa2feda4c" "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" "+9b49d8c6c904f63eb486fe51b14bbe0aa2feda4c" "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" "+9b49d8c6c904f63eb486fe51b14bbe0aa2feda4c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b502617a96f3b38c289c81dc265037f44ce7c5bbc9c67fff253e4955399f850a [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" "b502617a96f3b38c289c81dc265037f44ce7c5bbc9c67fff253e4955399f850a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b502617a96f3b38c289c81dc265037f44ce7c5bbc9c67fff253e4955399f850a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b502617a96f3b38c289c81dc265037f44ce7c5bbc9c67fff253e4955399f850a", kill_on_drop: false }` [INFO] [stdout] b502617a96f3b38c289c81dc265037f44ce7c5bbc9c67fff253e4955399f850a [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" "+9b49d8c6c904f63eb486fe51b14bbe0aa2feda4c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ecaa02ab312d00fc476240bb9aea83eaf1d09f6dabca737991c340b9645a81ea [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" "ecaa02ab312d00fc476240bb9aea83eaf1d09f6dabca737991c340b9645a81ea", kill_on_drop: false }` [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 version_check v0.9.2 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termion v1.5.5 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling syn v1.0.44 [INFO] [stderr] Compiling thiserror-impl v1.0.21 [INFO] [stderr] Compiling structopt-derive v0.4.13 [INFO] [stderr] Checking structopt v0.3.20 [INFO] [stderr] Checking thiserror v1.0.21 [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 `&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[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[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[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[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[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: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] 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[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" "ecaa02ab312d00fc476240bb9aea83eaf1d09f6dabca737991c340b9645a81ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecaa02ab312d00fc476240bb9aea83eaf1d09f6dabca737991c340b9645a81ea", kill_on_drop: false }` [INFO] [stdout] ecaa02ab312d00fc476240bb9aea83eaf1d09f6dabca737991c340b9645a81ea