[INFO] fetching crate spwn 0.0.6... [INFO] checking spwn-0.0.6 against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] extracting crate spwn 0.0.6 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate spwn 0.0.6 [INFO] finished tweaking crates.io crate spwn 0.0.6 [INFO] tweaked toml for crates.io crate spwn 0.0.6 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate spwn 0.0.6 on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate spwn 0.0.6 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bbd7ea7c7e3fe8084991783f5856a5c5ec85b17d9f4038f083ce4e447a2b29b8 [INFO] running `Command { std: "docker" "start" "-a" "bbd7ea7c7e3fe8084991783f5856a5c5ec85b17d9f4038f083ce4e447a2b29b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bbd7ea7c7e3fe8084991783f5856a5c5ec85b17d9f4038f083ce4e447a2b29b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbd7ea7c7e3fe8084991783f5856a5c5ec85b17d9f4038f083ce4e447a2b29b8", kill_on_drop: false }` [INFO] [stdout] bbd7ea7c7e3fe8084991783f5856a5c5ec85b17d9f4038f083ce4e447a2b29b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17feaeffa5504ccd27e0f9e638f34eeaf4003ec5ee87ff4a75b0240358ce3730 [INFO] running `Command { std: "docker" "start" "-a" "17feaeffa5504ccd27e0f9e638f34eeaf4003ec5ee87ff4a75b0240358ce3730", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling cached_proc_macro_types v0.1.0 [INFO] [stderr] Checking rle-decode-fast v1.0.1 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling beef v0.5.1 [INFO] [stderr] Checking libflate_lz77 v1.1.0 [INFO] [stderr] Checking ariadne v0.1.3 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Checking quick-xml v0.22.0 [INFO] [stderr] Checking slyce v0.3.1 [INFO] [stderr] Checking text_io v0.1.8 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking libflate v1.1.0 [INFO] [stderr] Checking internment v0.5.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking aes v0.7.4 [INFO] [stderr] Checking block-modes v0.8.1 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling logos-derive v0.12.0 [INFO] [stderr] Checking futures-util v0.3.15 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling cached_proc_macro v0.6.1 [INFO] [stderr] Checking logos v0.12.0 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking cached v0.25.0 [INFO] [stderr] Checking spwn v0.0.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::optimize::optimize` [INFO] [stdout] --> src/_lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::optimize::optimize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::*` [INFO] [stdout] --> src/_lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::parser::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tempfile::NamedTempFile` [INFO] [stdout] --> src/_lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use tempfile::NamedTempFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::optimize::optimize` [INFO] [stdout] --> src/_lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::optimize::optimize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::*` [INFO] [stdout] --> src/_lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::parser::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tempfile::NamedTempFile` [INFO] [stdout] --> src/_lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use tempfile::NamedTempFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/value.rs:2221:45 [INFO] [stdout] | [INFO] [stdout] 2221 | UnaryOperator::Minus => (handle_unary_operator( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2227 | )?), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2221 ~ UnaryOperator::Minus => handle_unary_operator( [INFO] [stdout] 2222 | val_ptr, [INFO] [stdout] ... [INFO] [stdout] 2226 | &info, [INFO] [stdout] 2227 ~ )? , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/value.rs:2229:49 [INFO] [stdout] | [INFO] [stdout] 2229 | UnaryOperator::Increment => (handle_unary_operator( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2235 | )?), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2229 ~ UnaryOperator::Increment => handle_unary_operator( [INFO] [stdout] 2230 | val_ptr, [INFO] [stdout] ... [INFO] [stdout] 2234 | &info, [INFO] [stdout] 2235 ~ )? , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/value.rs:2237:49 [INFO] [stdout] | [INFO] [stdout] 2237 | UnaryOperator::Decrement => (handle_unary_operator( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2243 | )?), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2237 ~ UnaryOperator::Decrement => handle_unary_operator( [INFO] [stdout] 2238 | val_ptr, [INFO] [stdout] ... [INFO] [stdout] 2242 | &info, [INFO] [stdout] 2243 ~ )? , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/value.rs:2245:43 [INFO] [stdout] | [INFO] [stdout] 2245 | UnaryOperator::Not => (handle_unary_operator( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2251 | )?), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2245 ~ UnaryOperator::Not => handle_unary_operator( [INFO] [stdout] 2246 | val_ptr, [INFO] [stdout] ... [INFO] [stdout] 2250 | &info, [INFO] [stdout] 2251 ~ )? , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/value.rs:2255:45 [INFO] [stdout] | [INFO] [stdout] 2255 | UnaryOperator::Range => (handle_unary_operator( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2261 | )?), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2255 ~ UnaryOperator::Range => handle_unary_operator( [INFO] [stdout] 2256 | val_ptr, [INFO] [stdout] ... [INFO] [stdout] 2260 | &info, [INFO] [stdout] 2261 ~ )? , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/value.rs:2221:45 [INFO] [stdout] | [INFO] [stdout] 2221 | UnaryOperator::Minus => (handle_unary_operator( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2227 | )?), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2221 ~ UnaryOperator::Minus => handle_unary_operator( [INFO] [stdout] 2222 | val_ptr, [INFO] [stdout] ... [INFO] [stdout] 2226 | &info, [INFO] [stdout] 2227 ~ )? , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/value.rs:2229:49 [INFO] [stdout] | [INFO] [stdout] 2229 | UnaryOperator::Increment => (handle_unary_operator( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2235 | )?), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2229 ~ UnaryOperator::Increment => handle_unary_operator( [INFO] [stdout] 2230 | val_ptr, [INFO] [stdout] ... [INFO] [stdout] 2234 | &info, [INFO] [stdout] 2235 ~ )? , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/value.rs:2237:49 [INFO] [stdout] | [INFO] [stdout] 2237 | UnaryOperator::Decrement => (handle_unary_operator( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2243 | )?), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2237 ~ UnaryOperator::Decrement => handle_unary_operator( [INFO] [stdout] 2238 | val_ptr, [INFO] [stdout] ... [INFO] [stdout] 2242 | &info, [INFO] [stdout] 2243 ~ )? , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/value.rs:2245:43 [INFO] [stdout] | [INFO] [stdout] 2245 | UnaryOperator::Not => (handle_unary_operator( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2251 | )?), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2245 ~ UnaryOperator::Not => handle_unary_operator( [INFO] [stdout] 2246 | val_ptr, [INFO] [stdout] ... [INFO] [stdout] 2250 | &info, [INFO] [stdout] 2251 ~ )? , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/value.rs:2255:45 [INFO] [stdout] | [INFO] [stdout] 2255 | UnaryOperator::Range => (handle_unary_operator( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2261 | )?), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2255 ~ UnaryOperator::Range => handle_unary_operator( [INFO] [stdout] 2256 | val_ptr, [INFO] [stdout] ... [INFO] [stdout] 2260 | &info, [INFO] [stdout] 2261 ~ )? , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[path]` attribute cannot be used on use statements [INFO] [stdout] --> src/_lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | path = "editorlive_unavailable.rs" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[path]` can only be applied to modules [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[path]` attribute cannot be used on use statements [INFO] [stdout] --> src/_lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | path = "editorlive_unavailable.rs" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[path]` can only be applied to modules [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `arg_index` is never read [INFO] [stdout] --> src/builtin.rs:457:33 [INFO] [stdout] | [INFO] [stdout] 457 | arg_index = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 502 | / builtins! { [INFO] [stdout] 503 | | (arguments, info, globals, context, full_context) [INFO] [stdout] 504 | | [INFO] [stdout] 505 | | [Assert] [INFO] [stdout] ... | [INFO] [stdout] 1545 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `builtins` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `arg_index` is never read [INFO] [stdout] --> src/builtin.rs:466:37 [INFO] [stdout] | [INFO] [stdout] 466 | arg_index += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 502 | / builtins! { [INFO] [stdout] 503 | | (arguments, info, globals, context, full_context) [INFO] [stdout] 504 | | [INFO] [stdout] 505 | | [Assert] [INFO] [stdout] ... | [INFO] [stdout] 1545 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `builtins` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `a` is never read [INFO] [stdout] --> src/builtin.rs:287:37 [INFO] [stdout] | [INFO] [stdout] 287 | let ( $(mut $arg_name),*) = $globals.stored_values[$arguments[$arg_index]].clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 502 | / builtins! { [INFO] [stdout] 503 | | (arguments, info, globals, context, full_context) [INFO] [stdout] 504 | | [INFO] [stdout] 505 | | [Assert] [INFO] [stdout] ... | [INFO] [stdout] 1545 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `typed_argument_check` which comes from the expansion of the macro `builtins` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `arg_index` is never read [INFO] [stdout] --> src/builtin.rs:457:33 [INFO] [stdout] | [INFO] [stdout] 457 | arg_index = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 502 | / builtins! { [INFO] [stdout] 503 | | (arguments, info, globals, context, full_context) [INFO] [stdout] 504 | | [INFO] [stdout] 505 | | [Assert] [INFO] [stdout] ... | [INFO] [stdout] 1545 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `builtins` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `arg_index` is never read [INFO] [stdout] --> src/builtin.rs:466:37 [INFO] [stdout] | [INFO] [stdout] 466 | arg_index += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 502 | / builtins! { [INFO] [stdout] 503 | | (arguments, info, globals, context, full_context) [INFO] [stdout] 504 | | [INFO] [stdout] 505 | | [Assert] [INFO] [stdout] ... | [INFO] [stdout] 1545 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `builtins` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `a` is never read [INFO] [stdout] --> src/builtin.rs:287:37 [INFO] [stdout] | [INFO] [stdout] 287 | let ( $(mut $arg_name),*) = $globals.stored_values[$arguments[$arg_index]].clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 502 | / builtins! { [INFO] [stdout] 503 | | (arguments, info, globals, context, full_context) [INFO] [stdout] 504 | | [INFO] [stdout] 505 | | [Assert] [INFO] [stdout] ... | [INFO] [stdout] 1545 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `typed_argument_check` which comes from the expansion of the macro `builtins` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `opti_enabled` is never read [INFO] [stdout] --> src/_lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Compiler { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 29 | opti_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Compiler` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `editor_paste` is never used [INFO] [stdout] --> src/editorlive_unavailable.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn editor_paste(_: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IdData` is never used [INFO] [stdout] --> src/optimize.rs:300:6 [INFO] [stdout] | [INFO] [stdout] 300 | enum IdData { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reads_writes` is never used [INFO] [stdout] --> src/optimize.rs:306:4 [INFO] [stdout] | [INFO] [stdout] 306 | fn reads_writes(t: Trigger, objects: &Triggerlist) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fix_read_write_order` is never used [INFO] [stdout] --> src/optimize.rs:496:4 [INFO] [stdout] | [INFO] [stdout] 496 | fn fix_read_write_order( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/context.rs:179:24 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn with_breaks(&mut self) -> ContextIterWithBreaks { [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] 179 | pub fn with_breaks(&mut self) -> ContextIterWithBreaks<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/context.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn iter(&mut self) -> ContextIter { [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] 183 | pub fn iter(&mut self) -> ContextIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `opti_enabled` is never read [INFO] [stdout] --> src/_lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Compiler { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 29 | opti_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Compiler` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `editor_paste` is never used [INFO] [stdout] --> src/editorlive_unavailable.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn editor_paste(_: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IdData` is never used [INFO] [stdout] --> src/optimize.rs:300:6 [INFO] [stdout] | [INFO] [stdout] 300 | enum IdData { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reads_writes` is never used [INFO] [stdout] --> src/optimize.rs:306:4 [INFO] [stdout] | [INFO] [stdout] 306 | fn reads_writes(t: Trigger, objects: &Triggerlist) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fix_read_write_order` is never used [INFO] [stdout] --> src/optimize.rs:496:4 [INFO] [stdout] | [INFO] [stdout] 496 | fn fix_read_write_order( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/context.rs:179:24 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn with_breaks(&mut self) -> ContextIterWithBreaks { [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] 179 | pub fn with_breaks(&mut self) -> ContextIterWithBreaks<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/context.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn iter(&mut self) -> ContextIter { [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] 183 | pub fn iter(&mut self) -> ContextIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/value.rs:2221:45 [INFO] [stdout] | [INFO] [stdout] 2221 | UnaryOperator::Minus => (handle_unary_operator( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2227 | )?), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2221 ~ UnaryOperator::Minus => handle_unary_operator( [INFO] [stdout] 2222 | val_ptr, [INFO] [stdout] ... [INFO] [stdout] 2226 | &info, [INFO] [stdout] 2227 ~ )? , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/value.rs:2229:49 [INFO] [stdout] | [INFO] [stdout] 2229 | UnaryOperator::Increment => (handle_unary_operator( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2235 | )?), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2229 ~ UnaryOperator::Increment => handle_unary_operator( [INFO] [stdout] 2230 | val_ptr, [INFO] [stdout] ... [INFO] [stdout] 2234 | &info, [INFO] [stdout] 2235 ~ )? , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/value.rs:2237:49 [INFO] [stdout] | [INFO] [stdout] 2237 | UnaryOperator::Decrement => (handle_unary_operator( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2243 | )?), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2237 ~ UnaryOperator::Decrement => handle_unary_operator( [INFO] [stdout] 2238 | val_ptr, [INFO] [stdout] ... [INFO] [stdout] 2242 | &info, [INFO] [stdout] 2243 ~ )? , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/value.rs:2245:43 [INFO] [stdout] | [INFO] [stdout] 2245 | UnaryOperator::Not => (handle_unary_operator( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2251 | )?), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2245 ~ UnaryOperator::Not => handle_unary_operator( [INFO] [stdout] 2246 | val_ptr, [INFO] [stdout] ... [INFO] [stdout] 2250 | &info, [INFO] [stdout] 2251 ~ )? , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/value.rs:2255:45 [INFO] [stdout] | [INFO] [stdout] 2255 | UnaryOperator::Range => (handle_unary_operator( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2261 | )?), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2255 ~ UnaryOperator::Range => handle_unary_operator( [INFO] [stdout] 2256 | val_ptr, [INFO] [stdout] ... [INFO] [stdout] 2260 | &info, [INFO] [stdout] 2261 ~ )? , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/value.rs:2221:45 [INFO] [stdout] | [INFO] [stdout] 2221 | UnaryOperator::Minus => (handle_unary_operator( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2227 | )?), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2221 ~ UnaryOperator::Minus => handle_unary_operator( [INFO] [stdout] 2222 | val_ptr, [INFO] [stdout] ... [INFO] [stdout] 2226 | &info, [INFO] [stdout] 2227 ~ )? , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/value.rs:2229:49 [INFO] [stdout] | [INFO] [stdout] 2229 | UnaryOperator::Increment => (handle_unary_operator( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2235 | )?), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2229 ~ UnaryOperator::Increment => handle_unary_operator( [INFO] [stdout] 2230 | val_ptr, [INFO] [stdout] ... [INFO] [stdout] 2234 | &info, [INFO] [stdout] 2235 ~ )? , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/value.rs:2237:49 [INFO] [stdout] | [INFO] [stdout] 2237 | UnaryOperator::Decrement => (handle_unary_operator( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2243 | )?), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2237 ~ UnaryOperator::Decrement => handle_unary_operator( [INFO] [stdout] 2238 | val_ptr, [INFO] [stdout] ... [INFO] [stdout] 2242 | &info, [INFO] [stdout] 2243 ~ )? , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/value.rs:2245:43 [INFO] [stdout] | [INFO] [stdout] 2245 | UnaryOperator::Not => (handle_unary_operator( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2251 | )?), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2245 ~ UnaryOperator::Not => handle_unary_operator( [INFO] [stdout] 2246 | val_ptr, [INFO] [stdout] ... [INFO] [stdout] 2250 | &info, [INFO] [stdout] 2251 ~ )? , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/value.rs:2255:45 [INFO] [stdout] | [INFO] [stdout] 2255 | UnaryOperator::Range => (handle_unary_operator( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2261 | )?), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2255 ~ UnaryOperator::Range => handle_unary_operator( [INFO] [stdout] 2256 | val_ptr, [INFO] [stdout] ... [INFO] [stdout] 2260 | &info, [INFO] [stdout] 2261 ~ )? , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `arg_index` is never read [INFO] [stdout] --> src/builtin.rs:457:33 [INFO] [stdout] | [INFO] [stdout] 457 | arg_index = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 502 | / builtins! { [INFO] [stdout] 503 | | (arguments, info, globals, context, full_context) [INFO] [stdout] 504 | | [INFO] [stdout] 505 | | [Assert] [INFO] [stdout] ... | [INFO] [stdout] 1545 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `builtins` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `arg_index` is never read [INFO] [stdout] --> src/builtin.rs:466:37 [INFO] [stdout] | [INFO] [stdout] 466 | arg_index += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 502 | / builtins! { [INFO] [stdout] 503 | | (arguments, info, globals, context, full_context) [INFO] [stdout] 504 | | [INFO] [stdout] 505 | | [Assert] [INFO] [stdout] ... | [INFO] [stdout] 1545 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `builtins` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `a` is never read [INFO] [stdout] --> src/builtin.rs:287:37 [INFO] [stdout] | [INFO] [stdout] 287 | let ( $(mut $arg_name),*) = $globals.stored_values[$arguments[$arg_index]].clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 502 | / builtins! { [INFO] [stdout] 503 | | (arguments, info, globals, context, full_context) [INFO] [stdout] 504 | | [INFO] [stdout] 505 | | [Assert] [INFO] [stdout] ... | [INFO] [stdout] 1545 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `typed_argument_check` which comes from the expansion of the macro `builtins` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `arg_index` is never read [INFO] [stdout] --> src/builtin.rs:457:33 [INFO] [stdout] | [INFO] [stdout] 457 | arg_index = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 502 | / builtins! { [INFO] [stdout] 503 | | (arguments, info, globals, context, full_context) [INFO] [stdout] 504 | | [INFO] [stdout] 505 | | [Assert] [INFO] [stdout] ... | [INFO] [stdout] 1545 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `builtins` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `arg_index` is never read [INFO] [stdout] --> src/builtin.rs:466:37 [INFO] [stdout] | [INFO] [stdout] 466 | arg_index += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 502 | / builtins! { [INFO] [stdout] 503 | | (arguments, info, globals, context, full_context) [INFO] [stdout] 504 | | [INFO] [stdout] 505 | | [Assert] [INFO] [stdout] ... | [INFO] [stdout] 1545 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `builtins` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `a` is never read [INFO] [stdout] --> src/builtin.rs:287:37 [INFO] [stdout] | [INFO] [stdout] 287 | let ( $(mut $arg_name),*) = $globals.stored_values[$arguments[$arg_index]].clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 502 | / builtins! { [INFO] [stdout] 503 | | (arguments, info, globals, context, full_context) [INFO] [stdout] 504 | | [INFO] [stdout] 505 | | [Assert] [INFO] [stdout] ... | [INFO] [stdout] 1545 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `typed_argument_check` which comes from the expansion of the macro `builtins` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Definition` is never constructed [INFO] [stdout] --> src/ast.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 236 | pub struct Definition { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Switch` is never constructed [INFO] [stdout] --> src/ast.rs:337:12 [INFO] [stdout] | [INFO] [stdout] 337 | pub struct Switch { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `parts` and `groups_used` are never read [INFO] [stdout] --> src/compiler_types.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct SyncGroup { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 47 | pub parts: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 48 | pub groups_used: Vec, // groups that are already used by this sync group, and can be reused in later parts [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lowest_y` and `sync_groups` are never read [INFO] [stdout] --> src/globals.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Globals { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | pub lowest_y: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub sync_groups: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IdData` is never used [INFO] [stdout] --> src/optimize.rs:300:6 [INFO] [stdout] | [INFO] [stdout] 300 | enum IdData { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reads_writes` is never used [INFO] [stdout] --> src/optimize.rs:306:4 [INFO] [stdout] | [INFO] [stdout] 306 | fn reads_writes(t: Trigger, objects: &Triggerlist) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fix_read_write_order` is never used [INFO] [stdout] --> src/optimize.rs:496:4 [INFO] [stdout] | [INFO] [stdout] 496 | fn fix_read_write_order( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/context.rs:179:24 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn with_breaks(&mut self) -> ContextIterWithBreaks { [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] 179 | pub fn with_breaks(&mut self) -> ContextIterWithBreaks<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/context.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn iter(&mut self) -> ContextIter { [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] 183 | pub fn iter(&mut self) -> ContextIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Definition` is never constructed [INFO] [stdout] --> src/ast.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 236 | pub struct Definition { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Switch` is never constructed [INFO] [stdout] --> src/ast.rs:337:12 [INFO] [stdout] | [INFO] [stdout] 337 | pub struct Switch { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `parts` and `groups_used` are never read [INFO] [stdout] --> src/compiler_types.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct SyncGroup { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 47 | pub parts: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 48 | pub groups_used: Vec, // groups that are already used by this sync group, and can be reused in later parts [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lowest_y` and `sync_groups` are never read [INFO] [stdout] --> src/globals.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Globals { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | pub lowest_y: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub sync_groups: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IdData` is never used [INFO] [stdout] --> src/optimize.rs:300:6 [INFO] [stdout] | [INFO] [stdout] 300 | enum IdData { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reads_writes` is never used [INFO] [stdout] --> src/optimize.rs:306:4 [INFO] [stdout] | [INFO] [stdout] 306 | fn reads_writes(t: Trigger, objects: &Triggerlist) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fix_read_write_order` is never used [INFO] [stdout] --> src/optimize.rs:496:4 [INFO] [stdout] | [INFO] [stdout] 496 | fn fix_read_write_order( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/context.rs:179:24 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn with_breaks(&mut self) -> ContextIterWithBreaks { [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] 179 | pub fn with_breaks(&mut self) -> ContextIterWithBreaks<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/context.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn iter(&mut self) -> ContextIter { [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] 183 | pub fn iter(&mut self) -> ContextIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.16s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: quick-xml v0.22.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 11` [INFO] running `Command { std: "docker" "inspect" "17feaeffa5504ccd27e0f9e638f34eeaf4003ec5ee87ff4a75b0240358ce3730", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17feaeffa5504ccd27e0f9e638f34eeaf4003ec5ee87ff4a75b0240358ce3730", kill_on_drop: false }` [INFO] [stdout] 17feaeffa5504ccd27e0f9e638f34eeaf4003ec5ee87ff4a75b0240358ce3730