[INFO] cloning repository https://github.com/MayNc10/Japanese [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MayNc10/Japanese" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMayNc10%2FJapanese", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMayNc10%2FJapanese'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 02d939caffcbfe6d7c80ff3fc410fc06b193b483 [INFO] checking MayNc10/Japanese against try#09ea730c380b8b9acb96ff87b724c45df920f793 for pr-134272 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMayNc10%2FJapanese" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MayNc10/Japanese on toolchain 09ea730c380b8b9acb96ff87b724c45df920f793 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09ea730c380b8b9acb96ff87b724c45df920f793" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MayNc10/Japanese [INFO] finished tweaking git repo https://github.com/MayNc10/Japanese [INFO] tweaked toml for git repo https://github.com/MayNc10/Japanese written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MayNc10/Japanese already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09ea730c380b8b9acb96ff87b724c45df920f793" "fetch" "--manifest-path" "Cargo.toml", 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+09ea730c380b8b9acb96ff87b724c45df920f793" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 192bd623ac5e5be8b9185fa3ba32ec1766af5a831722e77347f3210b6f2a0752 [INFO] running `Command { std: "docker" "start" "-a" "192bd623ac5e5be8b9185fa3ba32ec1766af5a831722e77347f3210b6f2a0752", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "192bd623ac5e5be8b9185fa3ba32ec1766af5a831722e77347f3210b6f2a0752", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "192bd623ac5e5be8b9185fa3ba32ec1766af5a831722e77347f3210b6f2a0752", kill_on_drop: false }` [INFO] [stdout] 192bd623ac5e5be8b9185fa3ba32ec1766af5a831722e77347f3210b6f2a0752 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+09ea730c380b8b9acb96ff87b724c45df920f793" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 533af03a0802a1b5fabe552d6ac49108281d7ec36ceeb186c0b39aa271f12154 [INFO] running `Command { std: "docker" "start" "-a" "533af03a0802a1b5fabe552d6ac49108281d7ec36ceeb186c0b39aa271f12154", kill_on_drop: false }` [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking japanese v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: non-item in item list [INFO] [stdout] --> src/token.rs:12:55 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Token : DynClone { [INFO] [stdout] | - item list starts here [INFO] [stdout] 12 | fn is_trait(&self) -> bool where T: Particle {}; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | non-item starts here [INFO] [stdout] | help: consider removing this semicolon [INFO] [stdout] 13 | fn is_trait(&self) -> bool where T: ?Particle {}; [INFO] [stdout] 14 | } [INFO] [stdout] | - item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-item in item list [INFO] [stdout] --> src/token.rs:12:55 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Token : DynClone { [INFO] [stdout] | - item list starts here [INFO] [stdout] 12 | fn is_trait(&self) -> bool where T: Particle {}; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | non-item starts here [INFO] [stdout] | help: consider removing this semicolon [INFO] [stdout] 13 | fn is_trait(&self) -> bool where T: ?Particle {}; [INFO] [stdout] 14 | } [INFO] [stdout] | - item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `conjugate` is not a member of trait `Particle` [INFO] [stdout] --> src/token/verb.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / fn conjugate(self, lhs: &dyn Token, rhs: &dyn Token) -> Result<(Box, [bool; 2]), ConjugateError> { [INFO] [stdout] 37 | | // We just use lhs [INFO] [stdout] 38 | | [INFO] [stdout] 39 | | (Box::new(PoliteVerb::new())) [INFO] [stdout] 40 | | } [INFO] [stdout] | |_____^ not a member of trait `Particle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/token/verb.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | (Box::new(PoliteVerb::new())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - (Box::new(PoliteVerb::new())) [INFO] [stdout] 39 + Box::new(PoliteVerb::new()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `conjugate` is not a member of trait `Particle` [INFO] [stdout] --> src/token/verb.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / fn conjugate(self, lhs: &dyn Token, rhs: &dyn Token) -> Result<(Box, [bool; 2]), ConjugateError> { [INFO] [stdout] 37 | | // We just use lhs [INFO] [stdout] 38 | | [INFO] [stdout] 39 | | (Box::new(PoliteVerb::new())) [INFO] [stdout] 40 | | } [INFO] [stdout] | |_____^ not a member of trait `Particle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/token/verb.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | (Box::new(PoliteVerb::new())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - (Box::new(PoliteVerb::new())) [INFO] [stdout] 39 + Box::new(PoliteVerb::new()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `token::Token` cannot be made into an object [INFO] [stdout] --> src/token.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | tokens: Vec>, [INFO] [stdout] | ^^^^^^^^^ `token::Token` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "dyn-compatible" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/token.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Token : DynClone { [INFO] [stdout] | ----- this trait cannot be made into an object... [INFO] [stdout] 12 | fn is_trait(&self) -> bool where T: Particle {}; [INFO] [stdout] | ^^^^^^^^ ...because method `is_trait` has generic type parameters [INFO] [stdout] = help: consider moving `is_trait` to another trait [INFO] [stdout] = help: only type `token::verb::Masu` is seen to implement the trait in this crate, consider using it directly instead [INFO] [stdout] = note: `token::Token` can be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `token::Token` cannot be made into an object [INFO] [stdout] --> src/token.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | tokens: Vec>, [INFO] [stdout] | ^^^^^^^^^ `token::Token` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "dyn-compatible" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/token.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Token : DynClone { [INFO] [stdout] | ----- this trait cannot be made into an object... [INFO] [stdout] 12 | fn is_trait(&self) -> bool where T: Particle {}; [INFO] [stdout] | ^^^^^^^^ ...because method `is_trait` has generic type parameters [INFO] [stdout] = help: consider moving `is_trait` to another trait [INFO] [stdout] = help: only type `token::verb::Masu` is seen to implement the trait in this crate, consider using it directly instead [INFO] [stdout] = note: `token::Token` can be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0186]: method `is_trait` has a `&self` declaration in the trait, but not in the impl [INFO] [stdout] --> src/token.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 12 | fn is_trait(&self) -> bool where T: Particle {}; [INFO] [stdout] | ----------------------------------------------- `&self` used in trait [INFO] [stdout] ... [INFO] [stdout] 21 | / fn is_trait() -> bool [INFO] [stdout] 22 | | where T: Particle [INFO] [stdout] | |_____________________^ expected `&self` in impl [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0186]: method `is_trait` has a `&self` declaration in the trait, but not in the impl [INFO] [stdout] --> src/token.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 12 | fn is_trait(&self) -> bool where T: Particle {}; [INFO] [stdout] | ----------------------------------------------- `&self` used in trait [INFO] [stdout] ... [INFO] [stdout] 21 | / fn is_trait() -> bool [INFO] [stdout] 22 | | where T: Particle [INFO] [stdout] | |_____________________^ expected `&self` in impl [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `token::Token` cannot be made into an object [INFO] [stdout] --> src/token.rs:17:37 [INFO] [stdout] | [INFO] [stdout] 17 | fn conjugate_true<>(self, lhs: &dyn Token, rhs: &dyn Token) -> Result<(Box, [bool; 2]), ConjugateError>; [INFO] [stdout] | ^^^^^^^^^ `token::Token` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "dyn-compatible" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/token.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Token : DynClone { [INFO] [stdout] | ----- this trait cannot be made into an object... [INFO] [stdout] 12 | fn is_trait(&self) -> bool where T: Particle {}; [INFO] [stdout] | ^^^^^^^^ ...because method `is_trait` has generic type parameters [INFO] [stdout] = help: consider moving `is_trait` to another trait [INFO] [stdout] = help: only type `token::verb::Masu` is seen to implement the trait in this crate, consider using it directly instead [INFO] [stdout] = note: `token::Token` can be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `token::Token` cannot be made into an object [INFO] [stdout] --> src/token.rs:17:37 [INFO] [stdout] | [INFO] [stdout] 17 | fn conjugate_true<>(self, lhs: &dyn Token, rhs: &dyn Token) -> Result<(Box, [bool; 2]), ConjugateError>; [INFO] [stdout] | ^^^^^^^^^ `token::Token` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "dyn-compatible" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/token.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Token : DynClone { [INFO] [stdout] | ----- this trait cannot be made into an object... [INFO] [stdout] 12 | fn is_trait(&self) -> bool where T: Particle {}; [INFO] [stdout] | ^^^^^^^^ ...because method `is_trait` has generic type parameters [INFO] [stdout] = help: consider moving `is_trait` to another trait [INFO] [stdout] = help: only type `token::verb::Masu` is seen to implement the trait in this crate, consider using it directly instead [INFO] [stdout] = note: `token::Token` can be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `conjugate_true` [INFO] [stdout] --> src/token/verb.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | impl Particle for Masu { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ missing `conjugate_true` in implementation [INFO] [stdout] | [INFO] [stdout] ::: src/token.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | fn conjugate_true<>(self, lhs: &dyn Token, rhs: &dyn Token) -> Result<(Box, [bool; 2]), ConjugateError>; [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------- `conjugate_true` from trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `conjugate_true` [INFO] [stdout] --> src/token/verb.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | impl Particle for Masu { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ missing `conjugate_true` in implementation [INFO] [stdout] | [INFO] [stdout] ::: src/token.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | fn conjugate_true<>(self, lhs: &dyn Token, rhs: &dyn Token) -> Result<(Box, [bool; 2]), ConjugateError>; [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------- `conjugate_true` from trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `token::Token` cannot be made into an object [INFO] [stdout] --> src/token/verb.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | fn conjugate(self, lhs: &dyn Token, rhs: &dyn Token) -> Result<(Box, [bool; 2]), ConjugateError> { [INFO] [stdout] | ^^^^^^^^^ `token::Token` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "dyn-compatible" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/token.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Token : DynClone { [INFO] [stdout] | ----- this trait cannot be made into an object... [INFO] [stdout] 12 | fn is_trait(&self) -> bool where T: Particle {}; [INFO] [stdout] | ^^^^^^^^ ...because method `is_trait` has generic type parameters [INFO] [stdout] = help: consider moving `is_trait` to another trait [INFO] [stdout] = help: only type `token::verb::Masu` is seen to implement the trait in this crate, consider using it directly instead [INFO] [stdout] = note: `token::Token` can be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `token::Token` cannot be made into an object [INFO] [stdout] --> src/token/verb.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | fn conjugate(self, lhs: &dyn Token, rhs: &dyn Token) -> Result<(Box, [bool; 2]), ConjugateError> { [INFO] [stdout] | ^^^^^^^^^ `token::Token` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "dyn-compatible" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/token.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Token : DynClone { [INFO] [stdout] | ----- this trait cannot be made into an object... [INFO] [stdout] 12 | fn is_trait(&self) -> bool where T: Particle {}; [INFO] [stdout] | ^^^^^^^^ ...because method `is_trait` has generic type parameters [INFO] [stdout] = help: consider moving `is_trait` to another trait [INFO] [stdout] = help: only type `token::verb::Masu` is seen to implement the trait in this crate, consider using it directly instead [INFO] [stdout] = note: `token::Token` can be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/token/verb.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | (Box::new(PoliteVerb::new())) [INFO] [stdout] | ^^^^^^^^^^^^^^^-- argument #1 is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/token/verb.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(stem: V) -> PoliteVerb { [INFO] [stdout] | ^^^ ------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 39 | (Box::new(PoliteVerb::new(/* stem */))) [INFO] [stdout] | ~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/token/verb.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | (Box::new(PoliteVerb::new())) [INFO] [stdout] | ^^^^^^^^^^^^^^^-- argument #1 is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/token/verb.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(stem: V) -> PoliteVerb { [INFO] [stdout] | ^^^ ------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 39 | (Box::new(PoliteVerb::new(/* stem */))) [INFO] [stdout] | ~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/token/verb.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 36 | fn conjugate(self, lhs: &dyn Token, rhs: &dyn Token) -> Result<(Box, [bool; 2]), ConjugateError> { [INFO] [stdout] | --------------------------------------------------- expected `Result<(Box<(dyn token::Token + 'static)>, [bool; 2]), error::ConjugateError>` because of return type [INFO] [stdout] ... [INFO] [stdout] 39 | (Box::new(PoliteVerb::new())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<(Box, ...), ...>`, found `Box>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(Box<(dyn token::Token + 'static)>, [bool; 2]), error::ConjugateError>` [INFO] [stdout] found struct `Box>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/token/verb.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 36 | fn conjugate(self, lhs: &dyn Token, rhs: &dyn Token) -> Result<(Box, [bool; 2]), ConjugateError> { [INFO] [stdout] | --------------------------------------------------- expected `Result<(Box<(dyn token::Token + 'static)>, [bool; 2]), error::ConjugateError>` because of return type [INFO] [stdout] ... [INFO] [stdout] 39 | (Box::new(PoliteVerb::new())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<(Box, ...), ...>`, found `Box>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(Box<(dyn token::Token + 'static)>, [bool; 2]), error::ConjugateError>` [INFO] [stdout] found struct `Box>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/token.rs:12:53 [INFO] [stdout] | [INFO] [stdout] 12 | fn is_trait(&self) -> bool where T: Particle {}; [INFO] [stdout] | ^^ expected `bool`, found `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/token.rs:12:53 [INFO] [stdout] | [INFO] [stdout] 12 | fn is_trait(&self) -> bool where T: Particle {}; [INFO] [stdout] | ^^ expected `bool`, found `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/token.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | fn is_trait() -> bool [INFO] [stdout] | -------- ^^^^ expected `bool`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/token.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | fn is_trait() -> bool [INFO] [stdout] | -------- ^^^^ expected `bool`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/parser.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn parse(text: &str) -> JapaneseSentence { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/parser.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn parse(text: &str) -> JapaneseSentence { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0038, E0046, E0061, E0186, E0308, E0407. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0038`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0038, E0046, E0061, E0186, E0308, E0407. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0038`. [INFO] [stdout] [INFO] [stderr] error: could not compile `japanese` (lib) due to 11 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `japanese` (lib test) due to 11 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "533af03a0802a1b5fabe552d6ac49108281d7ec36ceeb186c0b39aa271f12154", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "533af03a0802a1b5fabe552d6ac49108281d7ec36ceeb186c0b39aa271f12154", kill_on_drop: false }` [INFO] [stdout] 533af03a0802a1b5fabe552d6ac49108281d7ec36ceeb186c0b39aa271f12154