[INFO] fetching crate jsyc-compiler 0.1.0... [INFO] checking jsyc-compiler-0.1.0 against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] extracting crate jsyc-compiler 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate jsyc-compiler 0.1.0 on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate jsyc-compiler 0.1.0 [INFO] finished tweaking crates.io crate jsyc-compiler 0.1.0 [INFO] tweaked toml for crates.io crate jsyc-compiler 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 42 packages [INFO] [stderr] Adding ascii v0.9.3 (latest: v1.1.0) [INFO] [stderr] Adding base64 v0.10.1 (latest: v0.22.0) [INFO] [stderr] Adding combine v3.8.1 (latest: v4.6.6) [INFO] [stderr] Adding env_logger v0.6.2 (latest: v0.11.3) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.3.9) [INFO] [stderr] Adding humantime v1.3.0 (latest: v2.1.0) [INFO] [stderr] Adding object v0.32.2 (latest: v0.34.0) [INFO] [stderr] Adding quick-error v1.2.3 (latest: v2.0.1) [INFO] [stderr] Adding resast v0.2.1 (latest: v0.5.0) [INFO] [stderr] Adding ress v0.6.3 (latest: v0.11.6) [INFO] [stderr] Adding ressa v0.5.2 (latest: v0.8.2) [INFO] [stderr] Adding unic-char-property v0.7.0 (latest: v0.9.0) [INFO] [stderr] Adding unic-char-range v0.7.0 (latest: v0.9.0) [INFO] [stderr] Adding unic-common v0.7.0 (latest: v0.9.0) [INFO] [stderr] Adding unic-ucd-ident v0.7.0 (latest: v0.9.0) [INFO] [stderr] Adding unic-ucd-version v0.7.0 (latest: v0.9.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded resast v0.2.1 [INFO] [stderr] Downloaded ressa v0.5.2 [INFO] [stderr] Downloaded unic-ucd-ident v0.7.0 [INFO] [stderr] Downloaded ress v0.6.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9d02b3f74a4542aafaa4f5d666fa60c1557b7bc01a7131d8e1b8e7f9fc2b7c3 [INFO] running `Command { std: "docker" "start" "-a" "a9d02b3f74a4542aafaa4f5d666fa60c1557b7bc01a7131d8e1b8e7f9fc2b7c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9d02b3f74a4542aafaa4f5d666fa60c1557b7bc01a7131d8e1b8e7f9fc2b7c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9d02b3f74a4542aafaa4f5d666fa60c1557b7bc01a7131d8e1b8e7f9fc2b7c3", kill_on_drop: false }` [INFO] [stdout] a9d02b3f74a4542aafaa4f5d666fa60c1557b7bc01a7131d8e1b8e7f9fc2b7c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4bbe9052fd8e6c4d89d0c42d7a183086eb7bf0a8e190ec184c6162c445747fda [INFO] running `Command { std: "docker" "start" "-a" "4bbe9052fd8e6c4d89d0c42d7a183086eb7bf0a8e190ec184c6162c445747fda", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking unic-char-range v0.7.0 [INFO] [stderr] Checking unic-common v0.7.0 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking ascii v0.9.3 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking unic-ucd-version v0.7.0 [INFO] [stderr] Checking unic-char-property v0.7.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking resast v0.2.1 [INFO] [stderr] Checking unic-ucd-ident v0.7.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking ress v0.6.3 [INFO] [stderr] Checking ressa v0.5.2 [INFO] [stderr] Checking jsyc-compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/bytecode.rs:576:52 [INFO] [stdout] | [INFO] [stdout] 576 | BytecodeElement::Operation(cmd) => (cmd.instruction == Instruction::ReturnBytecodeFunc), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 576 - BytecodeElement::Operation(cmd) => (cmd.instruction == Instruction::ReturnBytecodeFunc), [INFO] [stdout] 576 + BytecodeElement::Operation(cmd) => cmd.instruction == Instruction::ReturnBytecodeFunc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytecode` is imported redundantly [INFO] [stdout] --> src/compiler.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::bytecode::{Bytecode, BytecodeResult}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | use crate::scope::*; [INFO] [stdout] 5 | use crate::bytecode::{*}; [INFO] [stdout] | - the item `Bytecode` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytecodeResult` is imported redundantly [INFO] [stdout] --> src/compiler.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::bytecode::{Bytecode, BytecodeResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 4 | use crate::scope::*; [INFO] [stdout] 5 | use crate::bytecode::{*}; [INFO] [stdout] | - the item `BytecodeResult` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/bytecode.rs:576:52 [INFO] [stdout] | [INFO] [stdout] 576 | BytecodeElement::Operation(cmd) => (cmd.instruction == Instruction::ReturnBytecodeFunc), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 576 - BytecodeElement::Operation(cmd) => (cmd.instruction == Instruction::ReturnBytecodeFunc), [INFO] [stdout] 576 + BytecodeElement::Operation(cmd) => cmd.instruction == Instruction::ReturnBytecodeFunc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytecode` is imported redundantly [INFO] [stdout] --> src/compiler.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::bytecode::{Bytecode, BytecodeResult}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | use crate::scope::*; [INFO] [stdout] 5 | use crate::bytecode::{*}; [INFO] [stdout] | - the item `Bytecode` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytecodeResult` is imported redundantly [INFO] [stdout] --> src/compiler.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::bytecode::{Bytecode, BytecodeResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 4 | use crate::scope::*; [INFO] [stdout] 5 | use crate::bytecode::{*}; [INFO] [stdout] | - the item `BytecodeResult` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `used_decls` is never read [INFO] [stdout] --> src/compiler.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct BytecodeFunction [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | used_decls: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BytecodeFunction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/bytecode.rs:344:33 [INFO] [stdout] | [INFO] [stdout] 344 | panic!("The string '{}' is too long. Encoded string may only have 65536 charachters."); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 344 | panic!("The string '{}' is too long. Encoded string may only have 65536 charachters.", ...); [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 344 | panic!("{}", "The string '{}' is too long. Encoded string may only have 65536 charachters."); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> src/instruction_set.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | VARINTS.into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | / make_enum_helper!( [INFO] [stdout] 74 | | enum CommonLiteral [INFO] [stdout] 75 | | { [INFO] [stdout] 76 | | Num0, [INFO] [stdout] ... | [INFO] [stdout] 79 | | // EmptyString [INFO] [stdout] 80 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = note: this warning originates in the macro `make_enum_helper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 23 | VARINTS.iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 23 | IntoIterator::into_iter(VARINTS) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> src/instruction_set.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | VARINTS.into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | / make_enum_helper!( [INFO] [stdout] 124 | | enum ReservedeRegister { [INFO] [stdout] 125 | | BytecodePointer, [INFO] [stdout] 126 | | BytecodeFuncReturn, [INFO] [stdout] 127 | | TrashRegister [INFO] [stdout] 128 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `make_enum_helper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 23 | VARINTS.iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 23 | IntoIterator::into_iter(VARINTS) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `used_decls` is never read [INFO] [stdout] --> src/compiler.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct BytecodeFunction [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | used_decls: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BytecodeFunction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/bytecode.rs:344:33 [INFO] [stdout] | [INFO] [stdout] 344 | panic!("The string '{}' is too long. Encoded string may only have 65536 charachters."); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 344 | panic!("The string '{}' is too long. Encoded string may only have 65536 charachters.", ...); [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 344 | panic!("{}", "The string '{}' is too long. Encoded string may only have 65536 charachters."); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> src/instruction_set.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | VARINTS.into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | / make_enum_helper!( [INFO] [stdout] 36 | | enum TestEnumA { [INFO] [stdout] 37 | | A, [INFO] [stdout] 38 | | B, [INFO] [stdout] 39 | | C [INFO] [stdout] 40 | | } [INFO] [stdout] 41 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = note: this warning originates in the macro `make_enum_helper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 23 | VARINTS.iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 23 | IntoIterator::into_iter(VARINTS) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> src/instruction_set.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | VARINTS.into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | / make_enum_helper!( [INFO] [stdout] 57 | | enum TestEnumB { [INFO] [stdout] 58 | | A [INFO] [stdout] 59 | | } [INFO] [stdout] 60 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `make_enum_helper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 23 | VARINTS.iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 23 | IntoIterator::into_iter(VARINTS) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> src/instruction_set.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | VARINTS.into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | / make_enum_helper!( [INFO] [stdout] 74 | | enum CommonLiteral [INFO] [stdout] 75 | | { [INFO] [stdout] 76 | | Num0, [INFO] [stdout] ... | [INFO] [stdout] 79 | | // EmptyString [INFO] [stdout] 80 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `make_enum_helper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 23 | VARINTS.iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 23 | IntoIterator::into_iter(VARINTS) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> src/instruction_set.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | VARINTS.into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | / make_enum_helper!( [INFO] [stdout] 124 | | enum ReservedeRegister { [INFO] [stdout] 125 | | BytecodePointer, [INFO] [stdout] 126 | | BytecodeFuncReturn, [INFO] [stdout] 127 | | TrashRegister [INFO] [stdout] 128 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `make_enum_helper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 23 | VARINTS.iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 23 | IntoIterator::into_iter(VARINTS) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `JSSourceCode` is imported redundantly [INFO] [stdout] --> tests/lib.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 3 | use jsyc_compiler::*; [INFO] [stdout] | ---------------- the item `JSSourceCode` is already imported here [INFO] [stdout] 4 | use jshelper::{JSSourceCode}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.48s [INFO] running `Command { std: "docker" "inspect" "4bbe9052fd8e6c4d89d0c42d7a183086eb7bf0a8e190ec184c6162c445747fda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bbe9052fd8e6c4d89d0c42d7a183086eb7bf0a8e190ec184c6162c445747fda", kill_on_drop: false }` [INFO] [stdout] 4bbe9052fd8e6c4d89d0c42d7a183086eb7bf0a8e190ec184c6162c445747fda