[INFO] cloning repository https://github.com/johnf9896/simple_lexer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/johnf9896/simple_lexer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohnf9896%2Fsimple_lexer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohnf9896%2Fsimple_lexer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cfad1a8678f19b0b25a7bc476eb8d0b2dc22d21e [INFO] testing johnf9896/simple_lexer against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohnf9896%2Fsimple_lexer" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/johnf9896/simple_lexer [INFO] finished tweaking git repo https://github.com/johnf9896/simple_lexer [INFO] tweaked toml for git repo https://github.com/johnf9896/simple_lexer written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/johnf9896/simple_lexer on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/johnf9896/simple_lexer 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f82e9b2cd5b4f2a450890cf2a8c7110b0e72b327485f95e349df117c6a7a2b28 [INFO] running `Command { std: "docker" "start" "-a" "f82e9b2cd5b4f2a450890cf2a8c7110b0e72b327485f95e349df117c6a7a2b28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f82e9b2cd5b4f2a450890cf2a8c7110b0e72b327485f95e349df117c6a7a2b28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f82e9b2cd5b4f2a450890cf2a8c7110b0e72b327485f95e349df117c6a7a2b28", kill_on_drop: false }` [INFO] [stdout] f82e9b2cd5b4f2a450890cf2a8c7110b0e72b327485f95e349df117c6a7a2b28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3fd985db5f4d1c91e4a2efa2a2b708aa430130e52b44f77019b47bfc17436f29 [INFO] running `Command { std: "docker" "start" "-a" "3fd985db5f4d1c91e4a2efa2a2b708aa430130e52b44f77019b47bfc17436f29", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling backtrace v0.3.44 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling simple_lexer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/eval.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, PartialEq, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_EvalError` [INFO] [stdout] 6 | pub enum EvalError { [INFO] [stdout] | --------- `EvalError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/eval.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, PartialEq, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_EvalError` [INFO] [stdout] 6 | pub enum EvalError { [INFO] [stdout] | --------- `EvalError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lexer.rs:87:28 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, PartialEq, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_LexingError` [INFO] [stdout] 88 | pub enum LexingError { [INFO] [stdout] | ----------- `LexingError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lexer.rs:87:28 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, PartialEq, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_LexingError` [INFO] [stdout] 88 | pub enum LexingError { [INFO] [stdout] | ----------- `LexingError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/parser.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, PartialEq, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ParsingError` [INFO] [stdout] 48 | pub enum ParsingError { [INFO] [stdout] | ------------ `ParsingError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:354:25 [INFO] [stdout] | [INFO] [stdout] 354 | fn check_open_paren(&mut self, advance: bool) -> OptToken { [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] 354 | fn check_open_paren(&mut self, advance: bool) -> OptToken<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:380:28 [INFO] [stdout] | [INFO] [stdout] 380 | fn check_assignment_op(&self) -> OptToken { [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] 380 | fn check_assignment_op(&self) -> OptToken<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.99s [INFO] running `Command { std: "docker" "inspect" "3fd985db5f4d1c91e4a2efa2a2b708aa430130e52b44f77019b47bfc17436f29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fd985db5f4d1c91e4a2efa2a2b708aa430130e52b44f77019b47bfc17436f29", kill_on_drop: false }` [INFO] [stdout] 3fd985db5f4d1c91e4a2efa2a2b708aa430130e52b44f77019b47bfc17436f29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94c044b91eca07de2397deb595119219079cf763b6498c2ff953e7b97e4cbd76 [INFO] running `Command { std: "docker" "start" "-a" "94c044b91eca07de2397deb595119219079cf763b6498c2ff953e7b97e4cbd76", kill_on_drop: false }` [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/eval.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, PartialEq, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_EvalError` [INFO] [stdout] 6 | pub enum EvalError { [INFO] [stdout] | --------- `EvalError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/eval.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, PartialEq, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_EvalError` [INFO] [stdout] 6 | pub enum EvalError { [INFO] [stdout] | --------- `EvalError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lexer.rs:87:28 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, PartialEq, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_LexingError` [INFO] [stdout] 88 | pub enum LexingError { [INFO] [stdout] | ----------- `LexingError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lexer.rs:87:28 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, PartialEq, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_LexingError` [INFO] [stdout] 88 | pub enum LexingError { [INFO] [stdout] | ----------- `LexingError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/parser.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, PartialEq, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ParsingError` [INFO] [stdout] 48 | pub enum ParsingError { [INFO] [stdout] | ------------ `ParsingError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling simple_lexer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:354:25 [INFO] [stdout] | [INFO] [stdout] 354 | fn check_open_paren(&mut self, advance: bool) -> OptToken { [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] 354 | fn check_open_paren(&mut self, advance: bool) -> OptToken<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:380:28 [INFO] [stdout] | [INFO] [stdout] 380 | fn check_assignment_op(&self) -> OptToken { [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] 380 | fn check_assignment_op(&self) -> OptToken<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/eval.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, PartialEq, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_EvalError` [INFO] [stdout] 6 | pub enum EvalError { [INFO] [stdout] | --------- `EvalError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/eval.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, PartialEq, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_EvalError` [INFO] [stdout] 6 | pub enum EvalError { [INFO] [stdout] | --------- `EvalError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lexer.rs:87:28 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, PartialEq, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_LexingError` [INFO] [stdout] 88 | pub enum LexingError { [INFO] [stdout] | ----------- `LexingError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lexer.rs:87:28 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, PartialEq, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_LexingError` [INFO] [stdout] 88 | pub enum LexingError { [INFO] [stdout] | ----------- `LexingError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lexer.rs:372:41 [INFO] [stdout] | [INFO] [stdout] 372 | fn token_for_identifier(identifier: &str, column: usize) -> Token { [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] 372 | fn token_for_identifier(identifier: &str, column: usize) -> Token<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lexer.rs:493:24 [INFO] [stdout] | [INFO] [stdout] 493 | fn an_operator(op: &str, column: usize) -> (Token, usize) { [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] 493 | fn an_operator(op: &str, column: usize) -> (Token<'_>, usize) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lexer.rs:567:22 [INFO] [stdout] | [INFO] [stdout] 567 | fn a_number(num: &str, column: usize) -> (Token, usize) { [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] 567 | fn a_number(num: &str, column: usize) -> (Token<'_>, usize) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/parser.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, PartialEq, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ParsingError` [INFO] [stdout] 48 | pub enum ParsingError { [INFO] [stdout] | ------------ `ParsingError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:354:25 [INFO] [stdout] | [INFO] [stdout] 354 | fn check_open_paren(&mut self, advance: bool) -> OptToken { [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] 354 | fn check_open_paren(&mut self, advance: bool) -> OptToken<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:380:28 [INFO] [stdout] | [INFO] [stdout] 380 | fn check_assignment_op(&self) -> OptToken { [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] 380 | fn check_assignment_op(&self) -> OptToken<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.22s [INFO] running `Command { std: "docker" "inspect" "94c044b91eca07de2397deb595119219079cf763b6498c2ff953e7b97e4cbd76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94c044b91eca07de2397deb595119219079cf763b6498c2ff953e7b97e4cbd76", kill_on_drop: false }` [INFO] [stdout] 94c044b91eca07de2397deb595119219079cf763b6498c2ff953e7b97e4cbd76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3d8c6828b6f842ef2a11bc63409d8304fbb582d4c14b03a73cc8dc6e9ffd3c8f [INFO] running `Command { std: "docker" "start" "-a" "3d8c6828b6f842ef2a11bc63409d8304fbb582d4c14b03a73cc8dc6e9ffd3c8f", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/eval.rs:5:28 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug, PartialEq, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_EvalError` [INFO] [stderr] 6 | pub enum EvalError { [INFO] [stderr] | --------- `EvalError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/eval.rs:5:28 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug, PartialEq, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_EvalError` [INFO] [stderr] 6 | pub enum EvalError { [INFO] [stderr] | --------- `EvalError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/lexer.rs:87:28 [INFO] [stderr] | [INFO] [stderr] 87 | #[derive(Debug, PartialEq, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_LexingError` [INFO] [stderr] 88 | pub enum LexingError { [INFO] [stderr] | ----------- `LexingError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/lexer.rs:87:28 [INFO] [stderr] | [INFO] [stderr] 87 | #[derive(Debug, PartialEq, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_LexingError` [INFO] [stderr] 88 | pub enum LexingError { [INFO] [stderr] | ----------- `LexingError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/parser.rs:47:28 [INFO] [stderr] | [INFO] [stderr] 47 | #[derive(Debug, PartialEq, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ParsingError` [INFO] [stderr] 48 | pub enum ParsingError { [INFO] [stderr] | ------------ `ParsingError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser.rs:354:25 [INFO] [stderr] | [INFO] [stderr] 354 | fn check_open_paren(&mut self, advance: bool) -> OptToken { [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] 354 | fn check_open_paren(&mut self, advance: bool) -> OptToken<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser.rs:380:28 [INFO] [stderr] | [INFO] [stderr] 380 | fn check_assignment_op(&self) -> OptToken { [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] 380 | fn check_assignment_op(&self) -> OptToken<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lexer.rs:372:41 [INFO] [stderr] | [INFO] [stderr] 372 | fn token_for_identifier(identifier: &str, column: usize) -> Token { [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] 372 | fn token_for_identifier(identifier: &str, column: usize) -> Token<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lexer.rs:493:24 [INFO] [stderr] | [INFO] [stderr] 493 | fn an_operator(op: &str, column: usize) -> (Token, usize) { [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] 493 | fn an_operator(op: &str, column: usize) -> (Token<'_>, usize) { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lexer.rs:567:22 [INFO] [stderr] | [INFO] [stderr] 567 | fn a_number(num: &str, column: usize) -> (Token, usize) { [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] 567 | fn a_number(num: &str, column: usize) -> (Token<'_>, usize) { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser.rs:354:25 [INFO] [stderr] | [INFO] [stderr] 354 | fn check_open_paren(&mut self, advance: bool) -> OptToken { [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] 354 | fn check_open_paren(&mut self, advance: bool) -> OptToken<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `simple_lexer` (lib) generated 7 warnings (run `cargo fix --lib -p simple_lexer` to apply 2 suggestions) [INFO] [stderr] warning: `simple_lexer` (lib test) generated 10 warnings (6 duplicates) (run `cargo fix --lib -p simple_lexer --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/simple_lexer-bf0200c90031fafa) [INFO] [stdout] [INFO] [stdout] running 89 tests [INFO] [stdout] test eval::tests::test_assinment2 ... ok [INFO] [stdout] test eval::tests::test_eval_equal ... ok [INFO] [stdout] test eval::tests::test_eval_division ... ok [INFO] [stdout] test eval::tests::test_assinment ... ok [INFO] [stdout] test eval::tests::test_eval_greater_or_equal_than_false ... ok [INFO] [stdout] test eval::tests::test_eval_less_or_equal_than ... ok [INFO] [stdout] test eval::tests::test_eval_less_or_equal_than_false ... ok [INFO] [stdout] test eval::tests::test_eval_less_than ... ok [INFO] [stdout] test eval::tests::test_eval_less_than_false ... ok [INFO] [stdout] test eval::tests::test_eval_pi ... ok [INFO] [stdout] test eval::tests::test_eval_greater_than ... ok [INFO] [stdout] test eval::tests::test_eval_multiplication ... ok [INFO] [stdout] test eval::tests::test_eval_number ... ok [INFO] [stdout] test eval::tests::test_eval_substraction ... ok [INFO] [stdout] test eval::tests::test_eval_sum ... ok [INFO] [stdout] test fsm::tests::test_camel_case_identifier ... ok [INFO] [stdout] test eval::tests::test_eval_greater_or_equal_than ... ok [INFO] [stdout] test eval::tests::test_eval_equal_false ... ok [INFO] [stdout] test fsm::tests::test_identifier_starting_with_digit ... ok [INFO] [stdout] test eval::tests::test_eval_greater_than_false ... ok [INFO] [stdout] test fsm::tests::test_snake_case_identifier ... ok [INFO] [stdout] test lexer::tests::test_arithmethic_operators ... ok [INFO] [stdout] test lexer::tests::test_combination1 ... ok [INFO] [stdout] test lexer::tests::test_a_single_number ... ok [INFO] [stdout] test lexer::tests::test_combination2 ... ok [INFO] [stdout] test lexer::tests::test_empty_input ... ok [INFO] [stdout] test lexer::tests::test_error1 ... ok [INFO] [stdout] test lexer::tests::test_couple_paren ... ok [INFO] [stdout] test fsm::tests::test_identifier_starting_with_underscore ... ok [INFO] [stdout] test lexer::tests::test_comparison_operators ... ok [INFO] [stdout] test lexer::tests::test_error2 ... ok [INFO] [stdout] test lexer::tests::test_ident_parens_ident ... ok [INFO] [stdout] test lexer::tests::test_error3 ... ok [INFO] [stdout] test lexer::tests::test_identifier_inside_paren ... ok [INFO] [stdout] test eval::tests::test_nested ... ok [INFO] [stdout] test lexer::tests::test_combination3 ... ok [INFO] [stdout] test fsm::tests::test_identifier_conteining_d1gits ... ok [INFO] [stdout] test lexer::tests::test_identifier_only_letters ... ok [INFO] [stdout] test lexer::tests::test_identifier_then_parens ... ok [INFO] [stdout] test lexer::tests::test_identifier_with_digits ... ok [INFO] [stdout] test lexer::tests::test_identifier_with_underscore ... ok [INFO] [stdout] test lexer::tests::test_invalid_numbers ... ok [INFO] [stdout] test lexer::tests::test_single_left_paren ... ok [INFO] [stdout] test lexer::tests::test_inverted_couple_paren ... ok [INFO] [stdout] test lexer::tests::test_single_right_paren ... ok [INFO] [stdout] test lexer::tests::test_whitespaces1 ... ok [INFO] [stdout] test lexer::tests::test_whitespaces2 ... ok [INFO] [stdout] test lexer::tests::test_full_identifier ... ok [INFO] [stdout] test number_fsm::tests::test_invalid_numbers ... ok [INFO] [stdout] test number_fsm::tests::test_valid_numbers ... ok [INFO] [stdout] test number_fsm::tests::test_valid_number_with_extra_data ... ok [INFO] [stdout] test parser::tests::test_fn_expr_in_double_parens ... ok [INFO] [stdout] test parser::tests::test_fn_expr_in_parens ... ok [INFO] [stdout] test parser::tests::test_fn_expr_in_unclosed_paren ... ok [INFO] [stdout] test parser::tests::test_fn_expr_in_unclosed_paren2 ... ok [INFO] [stdout] test parser::tests::test_fn_parse_factor ... ok [INFO] [stdout] test parser::tests::test_fn_parse_factor2 ... ok [INFO] [stdout] test parser::tests::test_fn_parse_identifier ... ok [INFO] [stdout] test parser::tests::test_fn_parse_identifier_non_identifier ... ok [INFO] [stdout] test parser::tests::test_fn_parse_number ... ok [INFO] [stdout] test parser::tests::test_fn_parse_number_non_number ... ok [INFO] [stdout] test parser::tests::test_parse_assignment2 ... ok [INFO] [stdout] test parser::tests::test_parse_div_substraction ... ok [INFO] [stdout] test parser::tests::test_parse_division ... ok [INFO] [stdout] test parser::tests::test_parse_empty_input ... ok [INFO] [stdout] test parser::tests::test_parse_assignment ... ok [INFO] [stdout] test parser::tests::test_parse_equal ... ok [INFO] [stdout] test parser::tests::test_parse_equal_sub_multi ... ok [INFO] [stdout] test parser::tests::test_parse_expr_in_double_parens ... ok [INFO] [stdout] test parser::tests::test_parse_expr_in_parens ... ok [INFO] [stdout] test parser::tests::test_parse_greater_than ... ok [INFO] [stdout] test parser::tests::test_parse_greater_than_equal ... ok [INFO] [stdout] test parser::tests::test_parse_greater_than_sub ... ok [INFO] [stdout] test parser::tests::test_parse_identifier ... ok [INFO] [stdout] test parser::tests::test_parse_invalid_assignment ... ok [INFO] [stdout] test parser::tests::test_parse_invalid_multiple_lines ... ok [INFO] [stdout] test parser::tests::test_parse_invalid_multiple_lines2 ... ok [INFO] [stdout] test parser::tests::test_parse_invalid_multiple_lines3 ... ok [INFO] [stdout] test parser::tests::test_parse_less_than ... ok [INFO] [stdout] test parser::tests::test_parse_less_than_equal ... ok [INFO] [stdout] test parser::tests::test_parse_less_than_sum ... ok [INFO] [stdout] test parser::tests::test_parse_multiple_lines ... ok [INFO] [stdout] test parser::tests::test_parse_number ... ok [INFO] [stdout] test parser::tests::test_parse_substraction ... ok [INFO] [stdout] test parser::tests::test_parse_multiplication ... ok [INFO] [stdout] test parser::tests::test_parse_sum_multi ... ok [INFO] [stdout] test parser::tests::test_parse_sum ... ok [INFO] [stdout] test parser::tests::test_parse_mutli_div_parens ... ok [INFO] [stdout] test parser::tests::test_parse_trailing_token ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 89 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/simple_lexer-d054eff8e0d9393c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests simple_lexer [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3d8c6828b6f842ef2a11bc63409d8304fbb582d4c14b03a73cc8dc6e9ffd3c8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d8c6828b6f842ef2a11bc63409d8304fbb582d4c14b03a73cc8dc6e9ffd3c8f", kill_on_drop: false }` [INFO] [stdout] 3d8c6828b6f842ef2a11bc63409d8304fbb582d4c14b03a73cc8dc6e9ffd3c8f