[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] testing MayNc10/Japanese against try#16fbf98f22730e073c09e7b03f0eafb87a295545 for pr-145628 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMayNc10%2FJapanese" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [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-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MayNc10/Japanese on toolchain 16fbf98f22730e073c09e7b03f0eafb87a295545 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "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 [ERROR] error running command: no output for 300 seconds [INFO] testing MayNc10/Japanese against try#16fbf98f22730e073c09e7b03f0eafb87a295545 for pr-145628 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMayNc10%2FJapanese" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [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-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MayNc10/Japanese on toolchain 16fbf98f22730e073c09e7b03f0eafb87a295545 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b1cf25855c4bcee6d7a4e9e715b4becfab51c02e95c78161f735ff2488cb27bc [INFO] running `Command { std: "docker" "start" "-a" "b1cf25855c4bcee6d7a4e9e715b4becfab51c02e95c78161f735ff2488cb27bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b1cf25855c4bcee6d7a4e9e715b4becfab51c02e95c78161f735ff2488cb27bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1cf25855c4bcee6d7a4e9e715b4becfab51c02e95c78161f735ff2488cb27bc", kill_on_drop: false }` [INFO] [stdout] b1cf25855c4bcee6d7a4e9e715b4becfab51c02e95c78161f735ff2488cb27bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3019ea04e427709a3a44f82097a181f3209988ff5d84660dac44b167d345fa53 [INFO] running `Command { std: "docker" "start" "-a" "3019ea04e427709a3a44f82097a181f3209988ff5d84660dac44b167d345fa53", kill_on_drop: false }` [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling 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[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)]` (part of `#[warn(unused)]`) 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[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` is not dyn compatible [INFO] [stdout] --> src/token.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | tokens: Vec>, [INFO] [stdout] | ^^^^^^^^^ `token::Token` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> src/token.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Token : DynClone { [INFO] [stdout] | ----- this trait is not dyn compatible... [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] [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` is not dyn compatible [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` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> src/token.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Token : DynClone { [INFO] [stdout] | ----- this trait is not dyn compatible... [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: you might have meant to use `Self` to refer to the implementing type [INFO] [stdout] | [INFO] [stdout] 36 - fn conjugate(self, lhs: &dyn Token, rhs: &dyn Token) -> Result<(Box, [bool; 2]), ConjugateError> { [INFO] [stdout] 36 + fn conjugate(self, lhs: &Self, rhs: &dyn Token) -> Result<(Box, [bool; 2]), ConjugateError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `token::Token` is not dyn compatible [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` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> src/token.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Token : DynClone { [INFO] [stdout] | ----- this trait is not dyn compatible... [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: you might have meant to use `Self` to refer to the implementing type [INFO] [stdout] | [INFO] [stdout] 17 - fn conjugate_true<>(self, lhs: &dyn Token, rhs: &dyn Token) -> Result<(Box, [bool; 2]), ConjugateError>; [INFO] [stdout] 17 + fn conjugate_true<>(self, lhs: &Self, rhs: &dyn Token) -> Result<(Box, [bool; 2]), ConjugateError>; [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[E0038]: the trait `token::Token` is not dyn compatible [INFO] [stdout] --> src/token/verb.rs:36:77 [INFO] [stdout] | [INFO] [stdout] 36 | fn conjugate(self, lhs: &dyn Token, rhs: &dyn Token) -> Result<(Box, [bool; 2]), ConjugateError> { [INFO] [stdout] | ^^^^^ `token::Token` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> src/token.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Token : DynClone { [INFO] [stdout] | ----- this trait is not dyn compatible... [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: consider using an opaque type instead [INFO] [stdout] | [INFO] [stdout] 36 - fn conjugate(self, lhs: &dyn Token, rhs: &dyn Token) -> Result<(Box, [bool; 2]), ConjugateError> { [INFO] [stdout] 36 + fn conjugate(self, lhs: &dyn Token, rhs: &dyn Token) -> Result<(Box, [bool; 2]), ConjugateError> { [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, [bool; 2]), ...>`, 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: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)]` (part of `#[warn(unused)]`) 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] [stderr] error: could not compile `japanese` (lib) due to 12 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3019ea04e427709a3a44f82097a181f3209988ff5d84660dac44b167d345fa53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3019ea04e427709a3a44f82097a181f3209988ff5d84660dac44b167d345fa53", kill_on_drop: false }` [INFO] [stdout] 3019ea04e427709a3a44f82097a181f3209988ff5d84660dac44b167d345fa53