[INFO] cloning repository https://github.com/jonimake/MiniPLInterpreter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jonimake/MiniPLInterpreter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonimake%2FMiniPLInterpreter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonimake%2FMiniPLInterpreter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4e37ad3a280e2ed53f21c6175d583897b1cc096c [INFO] building jonimake/MiniPLInterpreter against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonimake%2FMiniPLInterpreter" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jonimake/MiniPLInterpreter on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jonimake/MiniPLInterpreter [INFO] finished tweaking git repo https://github.com/jonimake/MiniPLInterpreter [INFO] tweaked toml for git repo https://github.com/jonimake/MiniPLInterpreter written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jonimake/MiniPLInterpreter 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded globset v0.2.1 [INFO] [stderr] Downloaded fern v0.4.4 [INFO] [stderr] Downloaded simplelog v0.4.4 [INFO] [stderr] Downloaded cargo-watch v5.1.1 [INFO] [stderr] Downloaded watchexec v1.8.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6411eaf7606ce6ea6f703bd575a5787380787ab17dd31aa5969cf0bcf9005ff1 [INFO] running `Command { std: "docker" "start" "-a" "6411eaf7606ce6ea6f703bd575a5787380787ab17dd31aa5969cf0bcf9005ff1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6411eaf7606ce6ea6f703bd575a5787380787ab17dd31aa5969cf0bcf9005ff1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6411eaf7606ce6ea6f703bd575a5787380787ab17dd31aa5969cf0bcf9005ff1", kill_on_drop: false }` [INFO] [stdout] 6411eaf7606ce6ea6f703bd575a5787380787ab17dd31aa5969cf0bcf9005ff1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42844ccf0089a3da7597e7b0c7f146d66cb131cea33bbeb011b773e470579146 [INFO] running `Command { std: "docker" "start" "-a" "42844ccf0089a3da7597e7b0c7f146d66cb131cea33bbeb011b773e470579146", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.35 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling ansi_term v0.10.2 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling fern v0.4.4 [INFO] [stderr] Compiling term_size v0.3.1 [INFO] [stderr] Compiling atty v0.2.6 [INFO] [stderr] Compiling time v0.1.39 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling clap v2.29.1 [INFO] [stderr] Compiling simplelog v0.4.4 [INFO] [stderr] Compiling structopt-derive v0.1.6 [INFO] [stderr] Compiling structopt v0.1.6 [INFO] [stderr] Compiling mini_pli_interpreter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lexer/lexeme_iterator.rs:58:51 [INFO] [stdout] | [INFO] [stdout] 55 | impl<'a> LexemeIterator<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn new(string: &'a str) -> LexemeIterator<'_> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `uniform_paths` has been stable since 1.32.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(uniform_paths, tool_lints)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `tool_lints` has been stable since 1.31.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(uniform_paths, tool_lints)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/lexer/lexeme_iterator.rs:68:26 [INFO] [stdout] | [INFO] [stdout] 68 | let src = string.trim_left_matches("\u{feff}"); //strip BOM [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 68 | let src = string.trim_start_matches("\u{feff}"); //strip BOM [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/main.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 119 | buffer.trim_left_matches("\u{feff}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 119 | buffer.trim_start_matches("\u{feff}"); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ParseError` and `UnexpectedToken` are never constructed [INFO] [stdout] --> src/parser/interpreter.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | enum Err { [INFO] [stdout] | --- variants in this enum [INFO] [stdout] 29 | ParseError(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 30 | UnexpectedToken(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `errors` is never read [INFO] [stdout] --> src/parser/interpreter.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Interpreter<'a, 'b: 'a> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | errors: Vec, [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/main.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Cli` is not local [INFO] [stdout] | `StructOpt` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCTOPT_FOR_Cli` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructOpt` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructOpt` may come from an old version of the `structopt_derive` crate, try updating your dependency with `cargo update -p structopt_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 `StructOpt` (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/main.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Cli` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCTOPT_FOR_Cli` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructOpt` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructOpt` may come from an old version of the `structopt_derive` crate, try updating your dependency with `cargo update -p structopt_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 `StructOpt` (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/main.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `LogLevel` is not local [INFO] [stdout] | `StructOpt` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCTOPT_FOR_LogLevel` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructOpt` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructOpt` may come from an old version of the `structopt_derive` crate, try updating your dependency with `cargo update -p structopt_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 `StructOpt` (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/main.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `LogLevel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCTOPT_FOR_LogLevel` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructOpt` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructOpt` may come from an old version of the `structopt_derive` crate, try updating your dependency with `cargo update -p structopt_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 `StructOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.60s [INFO] running `Command { std: "docker" "inspect" "42844ccf0089a3da7597e7b0c7f146d66cb131cea33bbeb011b773e470579146", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42844ccf0089a3da7597e7b0c7f146d66cb131cea33bbeb011b773e470579146", kill_on_drop: false }` [INFO] [stdout] 42844ccf0089a3da7597e7b0c7f146d66cb131cea33bbeb011b773e470579146 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c219681dad77bf2f85c7ba8d2e26ee57e29425ca7a13ffbcaf5b4aa296828542 [INFO] running `Command { std: "docker" "start" "-a" "c219681dad77bf2f85c7ba8d2e26ee57e29425ca7a13ffbcaf5b4aa296828542", kill_on_drop: false }` [INFO] [stderr] warning: mini_pli_interpreter v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `cargo-watch` which is missing a lib target [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling env_logger v0.3.5 [INFO] [stderr] Compiling mini_pli_interpreter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lexer/lexeme_iterator.rs:58:51 [INFO] [stdout] | [INFO] [stdout] 55 | impl<'a> LexemeIterator<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn new(string: &'a str) -> LexemeIterator<'_> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `uniform_paths` has been stable since 1.32.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(uniform_paths, tool_lints)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `tool_lints` has been stable since 1.31.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(uniform_paths, tool_lints)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/lexer/lexeme_iterator.rs:68:26 [INFO] [stdout] | [INFO] [stdout] 68 | let src = string.trim_left_matches("\u{feff}"); //strip BOM [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 68 | let src = string.trim_start_matches("\u{feff}"); //strip BOM [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/main.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 119 | buffer.trim_left_matches("\u{feff}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 119 | buffer.trim_start_matches("\u{feff}"); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ParseError` and `UnexpectedToken` are never constructed [INFO] [stdout] --> src/parser/interpreter.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | enum Err { [INFO] [stdout] | --- variants in this enum [INFO] [stdout] 29 | ParseError(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 30 | UnexpectedToken(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `errors` is never read [INFO] [stdout] --> src/parser/interpreter.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Interpreter<'a, 'b: 'a> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | errors: Vec, [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/main.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Cli` is not local [INFO] [stdout] | `StructOpt` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCTOPT_FOR_Cli` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructOpt` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructOpt` may come from an old version of the `structopt_derive` crate, try updating your dependency with `cargo update -p structopt_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 `StructOpt` (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/main.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Cli` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCTOPT_FOR_Cli` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructOpt` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructOpt` may come from an old version of the `structopt_derive` crate, try updating your dependency with `cargo update -p structopt_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 `StructOpt` (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/main.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `LogLevel` is not local [INFO] [stdout] | `StructOpt` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCTOPT_FOR_LogLevel` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructOpt` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructOpt` may come from an old version of the `structopt_derive` crate, try updating your dependency with `cargo update -p structopt_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 `StructOpt` (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/main.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `LogLevel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCTOPT_FOR_LogLevel` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructOpt` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructOpt` may come from an old version of the `structopt_derive` crate, try updating your dependency with `cargo update -p structopt_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 `StructOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/parser/interpreter.rs:628:5 [INFO] [stdout] | [INFO] [stdout] 628 | int.interpret(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 628 | let _ = int.interpret(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/parser/interpreter.rs:648:5 [INFO] [stdout] | [INFO] [stdout] 648 | int.interpret(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 648 | let _ = int.interpret(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/parser/interpreter.rs:667:5 [INFO] [stdout] | [INFO] [stdout] 667 | int.interpret(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 667 | let _ = int.interpret(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/parser/interpreter.rs:686:5 [INFO] [stdout] | [INFO] [stdout] 686 | int.interpret(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 686 | let _ = int.interpret(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/parser/interpreter.rs:704:5 [INFO] [stdout] | [INFO] [stdout] 704 | int.interpret(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 704 | let _ = int.interpret(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/parser/interpreter.rs:730:5 [INFO] [stdout] | [INFO] [stdout] 730 | int.interpret(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 730 | let _ = int.interpret(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/parser/interpreter.rs:868:5 [INFO] [stdout] | [INFO] [stdout] 868 | int.interpret(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 868 | let _ = int.interpret(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/parser/interpreter.rs:904:5 [INFO] [stdout] | [INFO] [stdout] 904 | int.interpret(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 904 | let _ = int.interpret(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/parser/interpreter.rs:985:9 [INFO] [stdout] | [INFO] [stdout] 985 | int.interpret(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 985 | let _ = int.interpret(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.39s [INFO] running `Command { std: "docker" "inspect" "c219681dad77bf2f85c7ba8d2e26ee57e29425ca7a13ffbcaf5b4aa296828542", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c219681dad77bf2f85c7ba8d2e26ee57e29425ca7a13ffbcaf5b4aa296828542", kill_on_drop: false }` [INFO] [stdout] c219681dad77bf2f85c7ba8d2e26ee57e29425ca7a13ffbcaf5b4aa296828542