[INFO] fetching crate scdlang 0.2.1... [INFO] testing scdlang-0.2.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate scdlang 0.2.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate scdlang 0.2.1 [INFO] finished tweaking crates.io crate scdlang 0.2.1 [INFO] tweaked toml for crates.io crate scdlang 0.2.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate scdlang 0.2.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 24 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fea301bd7e8d75dbfb71e519eda8f50d1f29a7eef499cf948f9f0e3ee57294dd [INFO] running `Command { std: "docker" "start" "-a" "fea301bd7e8d75dbfb71e519eda8f50d1f29a7eef499cf948f9f0e3ee57294dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fea301bd7e8d75dbfb71e519eda8f50d1f29a7eef499cf948f9f0e3ee57294dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fea301bd7e8d75dbfb71e519eda8f50d1f29a7eef499cf948f9f0e3ee57294dd", kill_on_drop: false }` [INFO] [stdout] fea301bd7e8d75dbfb71e519eda8f50d1f29a7eef499cf948f9f0e3ee57294dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c664982ea1ba782dc835b24b62b4cafec61a6bd277d024b2cd428d7e4106489 [INFO] running `Command { std: "docker" "start" "-a" "0c664982ea1ba782dc835b24b62b4cafec61a6bd277d024b2cd428d7e4106489", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling pest v2.8.2 [INFO] [stderr] Compiling pest_meta v2.8.2 [INFO] [stderr] Compiling pest_generator v2.8.2 [INFO] [stderr] Compiling pest_derive v2.8.2 [INFO] [stderr] Compiling scdlang v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Error as ScdlError` and `PestError` [INFO] [stdout] --> src/semantics/transition/helper.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | error::{Error as ScdlError, PestError}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error::ErrorVariant` and `iterators::Pair` [INFO] [stdout] --> src/semantics/transition/helper.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | pub use pest::{error::ErrorVariant, iterators::Pair, Span}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/semantics/transition/helper.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/semantics/kind.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | fn action(&self) -> Option<&Any/*👈TBD*/> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | fn action(&self) -> Option<&dyn Any/*👈TBD*/> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/semantics/kind.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | fn action(&self) -> Option<&Any /*👈TBD*/>; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 70 | fn action(&self) -> Option<&dyn Any /*👈TBD*/>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this item cannot be used as its where bounds are not satisfied for the `Self` type [INFO] [stdout] --> src/semantics/transition/iter.rs:61:2 [INFO] [stdout] | [INFO] [stdout] 61 | / fn from_iter(_transition: T) -> Self [INFO] [stdout] 62 | | where [INFO] [stdout] 63 | | T: IntoIterator>, [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/parser.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn parse(source: &str) -> Result, RuleError> { [INFO] [stdout] | ^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 17 | pub fn parse(source: &str) -> Result, RuleError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/parser.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn parse(&self, source: &'g str) -> Result, Error> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ----------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 23 | pub fn parse(&self, source: &'g str) -> Result, Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/parser.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn parse_from(source: &str) -> Result, Error> { [INFO] [stdout] | ^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 28 | pub fn parse_from(source: &str) -> Result, Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/parser.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn iter_from(&self, source: &'g str) -> Result, Error> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ---- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | pub fn iter_from(&self, source: &'g str) -> Result>, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/semantics/kind.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | fn current_state(&self) -> Name; [INFO] [stdout] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 35 | fn current_state(&self) -> Name<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/semantics/kind.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | fn next_state(&self) -> Name; [INFO] [stdout] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | fn next_state(&self) -> Name<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/semantics/kind.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | fn event(&self) -> Option; [INFO] [stdout] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 37 | fn event(&self) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/semantics/kind.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | fn state(&self) -> Option; [INFO] [stdout] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 69 | fn state(&self) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/semantics/kind.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | fn event(&self) -> Option; [INFO] [stdout] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 71 | fn event(&self) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/semantics/transition/mod.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | fn current_state(&self) -> Name { [INFO] [stdout] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 13 | fn current_state(&self) -> Name<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/semantics/transition/mod.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | fn next_state(&self) -> Name { [INFO] [stdout] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 17 | fn next_state(&self) -> Name<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/semantics/transition/mod.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | fn event(&self) -> Option { [INFO] [stdout] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | fn event(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/semantics/transition/helper.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn trigger(pair: TokenPair) -> &str { [INFO] [stdout] | ^^^^^^^^^ ---- the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 42 | pub fn trigger(pair: TokenPair<'_>) -> &str { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.70s [INFO] running `Command { std: "docker" "inspect" "0c664982ea1ba782dc835b24b62b4cafec61a6bd277d024b2cd428d7e4106489", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c664982ea1ba782dc835b24b62b4cafec61a6bd277d024b2cd428d7e4106489", kill_on_drop: false }` [INFO] [stdout] 0c664982ea1ba782dc835b24b62b4cafec61a6bd277d024b2cd428d7e4106489 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 123028f17607651f64efd99273f9b96c9952649cfb03197ca88b8f3571a5fc89 [INFO] running `Command { std: "docker" "start" "-a" "123028f17607651f64efd99273f9b96c9952649cfb03197ca88b8f3571a5fc89", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `Error as ScdlError` and `PestError` [INFO] [stdout] --> src/semantics/transition/helper.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | error::{Error as ScdlError, PestError}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error::ErrorVariant` and `iterators::Pair` [INFO] [stdout] --> src/semantics/transition/helper.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | pub use pest::{error::ErrorVariant, iterators::Pair, Span}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/semantics/transition/helper.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/semantics/kind.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | fn action(&self) -> Option<&Any/*👈TBD*/> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | fn action(&self) -> Option<&dyn Any/*👈TBD*/> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/semantics/kind.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | fn action(&self) -> Option<&Any /*👈TBD*/>; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 70 | fn action(&self) -> Option<&dyn Any /*👈TBD*/>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this item cannot be used as its where bounds are not satisfied for the `Self` type [INFO] [stdout] --> src/semantics/transition/iter.rs:61:2 [INFO] [stdout] | [INFO] [stdout] 61 | / fn from_iter(_transition: T) -> Self [INFO] [stdout] 62 | | where [INFO] [stdout] 63 | | T: IntoIterator>, [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/parser.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn parse(source: &str) -> Result, RuleError> { [INFO] [stdout] | ^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 17 | pub fn parse(source: &str) -> Result, RuleError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/parser.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn parse(&self, source: &'g str) -> Result, Error> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ----------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 23 | pub fn parse(&self, source: &'g str) -> Result, Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/parser.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn parse_from(source: &str) -> Result, Error> { [INFO] [stdout] | ^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 28 | pub fn parse_from(source: &str) -> Result, Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/parser.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn iter_from(&self, source: &'g str) -> Result, Error> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ---- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | pub fn iter_from(&self, source: &'g str) -> Result>, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/semantics/kind.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | fn current_state(&self) -> Name; [INFO] [stdout] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 35 | fn current_state(&self) -> Name<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/semantics/kind.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | fn next_state(&self) -> Name; [INFO] [stdout] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | fn next_state(&self) -> Name<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/semantics/kind.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | fn event(&self) -> Option; [INFO] [stdout] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 37 | fn event(&self) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/semantics/kind.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | fn state(&self) -> Option; [INFO] [stdout] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 69 | fn state(&self) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/semantics/kind.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | fn event(&self) -> Option; [INFO] [stdout] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 71 | fn event(&self) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/semantics/transition/mod.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | fn current_state(&self) -> Name { [INFO] [stdout] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 13 | fn current_state(&self) -> Name<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/semantics/transition/mod.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | fn next_state(&self) -> Name { [INFO] [stdout] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 17 | fn next_state(&self) -> Name<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/semantics/transition/mod.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | fn event(&self) -> Option { [INFO] [stdout] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | fn event(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/semantics/transition/helper.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn trigger(pair: TokenPair) -> &str { [INFO] [stdout] | ^^^^^^^^^ ---- the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 42 | pub fn trigger(pair: TokenPair<'_>) -> &str { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling scdlang v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Error as ScdlError` and `PestError` [INFO] [stdout] --> src/semantics/transition/helper.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | error::{Error as ScdlError, PestError}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error::ErrorVariant` and `iterators::Pair` [INFO] [stdout] --> src/semantics/transition/helper.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | pub use pest::{error::ErrorVariant, iterators::Pair, Span}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/semantics/transition/helper.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/semantics/kind.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | fn action(&self) -> Option<&Any/*👈TBD*/> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | fn action(&self) -> Option<&dyn Any/*👈TBD*/> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/semantics/kind.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | fn action(&self) -> Option<&Any /*👈TBD*/>; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 70 | fn action(&self) -> Option<&dyn Any /*👈TBD*/>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this item cannot be used as its where bounds are not satisfied for the `Self` type [INFO] [stdout] --> src/semantics/transition/iter.rs:61:2 [INFO] [stdout] | [INFO] [stdout] 61 | / fn from_iter(_transition: T) -> Self [INFO] [stdout] 62 | | where [INFO] [stdout] 63 | | T: IntoIterator>, [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/parser.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn parse(source: &str) -> Result, RuleError> { [INFO] [stdout] | ^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 17 | pub fn parse(source: &str) -> Result, RuleError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/parser.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn parse(&self, source: &'g str) -> Result, Error> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ----------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 23 | pub fn parse(&self, source: &'g str) -> Result, Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/parser.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn parse_from(source: &str) -> Result, Error> { [INFO] [stdout] | ^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 28 | pub fn parse_from(source: &str) -> Result, Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/parser.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn iter_from(&self, source: &'g str) -> Result, Error> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ---- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | pub fn iter_from(&self, source: &'g str) -> Result>, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/semantics/kind.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | fn current_state(&self) -> Name; [INFO] [stdout] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 35 | fn current_state(&self) -> Name<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/semantics/kind.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | fn next_state(&self) -> Name; [INFO] [stdout] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | fn next_state(&self) -> Name<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/semantics/kind.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | fn event(&self) -> Option; [INFO] [stdout] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 37 | fn event(&self) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/semantics/kind.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | fn state(&self) -> Option; [INFO] [stdout] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 69 | fn state(&self) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/semantics/kind.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | fn event(&self) -> Option; [INFO] [stdout] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 71 | fn event(&self) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/semantics/transition/mod.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | fn current_state(&self) -> Name { [INFO] [stdout] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 13 | fn current_state(&self) -> Name<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/semantics/transition/mod.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | fn next_state(&self) -> Name { [INFO] [stdout] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 17 | fn next_state(&self) -> Name<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/semantics/transition/mod.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | fn event(&self) -> Option { [INFO] [stdout] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | fn event(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/semantics/transition/helper.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn trigger(pair: TokenPair) -> &str { [INFO] [stdout] | ^^^^^^^^^ ---- the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 42 | pub fn trigger(pair: TokenPair<'_>) -> &str { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.60s [INFO] running `Command { std: "docker" "inspect" "123028f17607651f64efd99273f9b96c9952649cfb03197ca88b8f3571a5fc89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "123028f17607651f64efd99273f9b96c9952649cfb03197ca88b8f3571a5fc89", kill_on_drop: false }` [INFO] [stdout] 123028f17607651f64efd99273f9b96c9952649cfb03197ca88b8f3571a5fc89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3077ef2ec6e3eba9e3658348a27701bcfc6d2d7703242a36dcebc53d42a87f75 [INFO] running `Command { std: "docker" "start" "-a" "3077ef2ec6e3eba9e3658348a27701bcfc6d2d7703242a36dcebc53d42a87f75", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Error as ScdlError` and `PestError` [INFO] [stderr] --> src/semantics/transition/helper.rs:3:11 [INFO] [stderr] | [INFO] [stderr] 3 | error::{Error as ScdlError, PestError}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `error::ErrorVariant` and `iterators::Pair` [INFO] [stderr] --> src/semantics/transition/helper.rs:8:17 [INFO] [stderr] | [INFO] [stderr] 8 | pub use pest::{error::ErrorVariant, iterators::Pair, Span}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::convert::TryInto` [INFO] [stderr] --> src/semantics/transition/helper.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | pub use std::convert::TryInto; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/semantics/kind.rs:39:30 [INFO] [stderr] | [INFO] [stderr] 39 | fn action(&self) -> Option<&Any/*👈TBD*/> { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 39 | fn action(&self) -> Option<&dyn Any/*👈TBD*/> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/semantics/kind.rs:70:30 [INFO] [stderr] | [INFO] [stderr] 70 | fn action(&self) -> Option<&Any /*👈TBD*/>; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 70 | fn action(&self) -> Option<&dyn Any /*👈TBD*/>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: this item cannot be used as its where bounds are not satisfied for the `Self` type [INFO] [stderr] --> src/semantics/transition/iter.rs:61:2 [INFO] [stderr] | [INFO] [stderr] 61 | / fn from_iter(_transition: T) -> Self [INFO] [stderr] 62 | | where [INFO] [stderr] 63 | | T: IntoIterator>, [INFO] [stderr] | |_______________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/core/parser.rs:17:22 [INFO] [stderr] | [INFO] [stderr] 17 | pub fn parse(source: &str) -> Result, RuleError> { [INFO] [stderr] | ^^^^ ----------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 17 | pub fn parse(source: &str) -> Result, RuleError> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/core/parser.rs:23:15 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn parse(&self, source: &'g str) -> Result, Error> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ----------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 23 | pub fn parse(&self, source: &'g str) -> Result, Error> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/core/parser.rs:28:28 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn parse_from(source: &str) -> Result, Error> { [INFO] [stderr] | ^^^^ ----------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 28 | pub fn parse_from(source: &str) -> Result, Error> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/core/parser.rs:34:19 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn iter_from(&self, source: &'g str) -> Result, Error> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ---- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 34 | pub fn iter_from(&self, source: &'g str) -> Result>, Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/semantics/kind.rs:35:19 [INFO] [stderr] | [INFO] [stderr] 35 | fn current_state(&self) -> Name; [INFO] [stderr] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 35 | fn current_state(&self) -> Name<'_>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/semantics/kind.rs:36:16 [INFO] [stderr] | [INFO] [stderr] 36 | fn next_state(&self) -> Name; [INFO] [stderr] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 36 | fn next_state(&self) -> Name<'_>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/semantics/kind.rs:37:11 [INFO] [stderr] | [INFO] [stderr] 37 | fn event(&self) -> Option; [INFO] [stderr] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 37 | fn event(&self) -> Option>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/semantics/kind.rs:69:11 [INFO] [stderr] | [INFO] [stderr] 69 | fn state(&self) -> Option; [INFO] [stderr] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 69 | fn state(&self) -> Option>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/semantics/kind.rs:71:11 [INFO] [stderr] | [INFO] [stderr] 71 | fn event(&self) -> Option; [INFO] [stderr] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 71 | fn event(&self) -> Option>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/semantics/transition/mod.rs:13:19 [INFO] [stderr] | [INFO] [stderr] 13 | fn current_state(&self) -> Name { [INFO] [stderr] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 13 | fn current_state(&self) -> Name<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/semantics/transition/mod.rs:17:16 [INFO] [stderr] | [INFO] [stderr] 17 | fn next_state(&self) -> Name { [INFO] [stderr] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 17 | fn next_state(&self) -> Name<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/semantics/transition/mod.rs:21:11 [INFO] [stderr] | [INFO] [stderr] 21 | fn event(&self) -> Option { [INFO] [stderr] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 21 | fn event(&self) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/semantics/transition/helper.rs:42:23 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn trigger(pair: TokenPair) -> &str { [INFO] [stderr] | ^^^^^^^^^ ---- the same lifetime is elided here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 42 | pub fn trigger(pair: TokenPair<'_>) -> &str { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `scdlang` (lib) generated 19 warnings (run `cargo fix --lib -p scdlang` to apply 18 suggestions) [INFO] [stderr] warning: `scdlang` (lib test) generated 19 warnings (19 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/scdlang-ae6d784a206a86c0) [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test core::test::self_transition ... ok [INFO] [stdout] test core::test::transient_loop_to ... ok [INFO] [stdout] test core::test::transient_loop_from ... ok [INFO] [stdout] test core::test::toggle_transition ... ok [INFO] [stdout] test semantics::transition::pair::loop_transition ... ok [INFO] [stdout] test semantics::transition::pair::normal_transition ... ok [INFO] [stdout] test core::test::transition_from ... ok [INFO] [stdout] test core::test::loop_to ... ok [INFO] [stdout] test core::test::loop_from ... ok [INFO] [stdout] test semantics::transition::pair::fix_issues::indirect_loop_transition ... ok [INFO] [stdout] test core::test::trigger_at ... ok [INFO] [stdout] test core::test::should_fail_when::use_wrong_symbol ... ok [INFO] [stdout] test core::test::transition_to ... ok [INFO] [stdout] test semantics::transition::pair::semantics_error::ambigous_transition::transient_transition_after_trigger ... ok [INFO] [stdout] test semantics::transition::pair::semantics_error::ambigous_transition::transient_transition_before_trigger ... ok [INFO] [stdout] test semantics::transition::pair::semantics_error::duplicate_transient_transition ... ok [INFO] [stdout] test semantics::transition::pair::toggle_transition ... ok [INFO] [stdout] test semantics::transition::pair::transient_loop_transition ... ok [INFO] [stdout] test error::variant::syntax_error ... ok [INFO] [stdout] test semantics::transition::pair::semantics_error::duplicate_transition_with_same_trigger ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests scdlang [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/core/builder.rs - core::builder::Scdlang (line 9) ... ignored [INFO] [stdout] test src/external.rs - external (line 44) ... ignored [INFO] [stdout] test src/lib.rs - grammar (line 23) ... ignored [INFO] [stdout] test src/core/parser.rs - core::parser::parse (line 13) ... FAILED [INFO] [stdout] test src/external.rs - external (line 7) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/core/parser.rs - core::parser::parse (line 13) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> src/core/parser.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 3 | let token_pairs = parse("A -> B")?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use scdlang::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `println` [INFO] [stdout] --> src/core/parser.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 4 | println("{:#?}", token_pairs); [INFO] [stdout] | ^^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 4 | println!("{:#?}", token_pairs); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/external.rs - external (line 7) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Scdlang` in this scope [INFO] [stdout] --> src/external.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 5 | builder: Scdlang<'a>, // or any type that implmenet trait `Builder` [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use scdlang::Scdlang; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scdlang` [INFO] [stdout] --> src/external.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 11 | let mut builder = Scdlang::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Scdlang` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use scdlang::Scdlang; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Parser` in this scope [INFO] [stdout] --> src/external.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 18 | impl<'a> Parser<'a> for Machine<'a> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 2 + use pest::Parser; [INFO] [stdout] | [INFO] [stdout] 2 + use scdlang::prelude::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Builder` in this scope [INFO] [stdout] --> src/external.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 19 | fn configure(&mut self) -> &mut Builder<'a> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] 2 + use scdlang::prelude::Builder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DynError` in this scope [INFO] [stdout] --> src/external.rs:28:50 [INFO] [stdout] | [INFO] [stdout] 23 | fn parse(&mut self, source: &str) -> Result<(), DynError> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 18 | impl<'a, DynError> Parser<'a> for Machine<'a> { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `error` [INFO] [stdout] --> src/external.rs:33:65 [INFO] [stdout] | [INFO] [stdout] 28 | fn insert_parse(&mut self, source: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `error` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/error/mod.rs, use `mod error` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod error; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 2 + use std::error; [INFO] [stdout] | [INFO] [stdout] 2 + use pest::error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Scdlang` in this scope [INFO] [stdout] --> src/external.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 32 | fn try_parse(source: &str, builder: Scdlang<'a>) -> Result> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use scdlang::Scdlang; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `error` [INFO] [stdout] --> src/external.rs:37:75 [INFO] [stdout] | [INFO] [stdout] 32 | fn try_parse(source: &str, builder: Scdlang<'a>) -> Result> { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `error` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/error/mod.rs, use `mod error` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod error; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 2 + use std::error; [INFO] [stdout] | [INFO] [stdout] 2 + use pest::error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/external.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 6 | schema: std::any::Any, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 | schema: dyn std::any::Any, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn Any + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/external.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Default)] [INFO] [stdout] | ^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `Machine<'a>`, the trait `Sized` is not implemented for `(dyn Any + 'static)` [INFO] [stdout] note: required because it appears within the type `Machine<'a>` [INFO] [stdout] --> src/external.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Machine<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required by a bound in `Default` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/default.rs:108:1 [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0405, E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/core/parser.rs - core::parser::parse (line 13) [INFO] [stdout] src/external.rs - external (line 7) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 3 ignored; 0 measured; 0 filtered out; finished in 0.32s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "3077ef2ec6e3eba9e3658348a27701bcfc6d2d7703242a36dcebc53d42a87f75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3077ef2ec6e3eba9e3658348a27701bcfc6d2d7703242a36dcebc53d42a87f75", kill_on_drop: false }` [INFO] [stdout] 3077ef2ec6e3eba9e3658348a27701bcfc6d2d7703242a36dcebc53d42a87f75