[INFO] fetching crate jsyc-compiler 0.1.0... [INFO] testing jsyc-compiler-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate jsyc-compiler 0.1.0 into /workspace/builds/worker-1-tc1/source [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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate jsyc-compiler 0.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 60 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.10.1 (available: v0.22.1) [INFO] [stderr] Adding resast v0.2.1 (available: v0.5.0) [INFO] [stderr] Adding ressa v0.5.2 (available: v0.8.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded resast v0.2.1 [INFO] [stderr] Downloaded unic-ucd-ident v0.7.0 [INFO] [stderr] Downloaded ress v0.6.3 [INFO] [stderr] Downloaded ressa v0.5.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b2c2f6c9ad0eb5d82dc6a8c31add34470738a2ce9938038bcd226df0ffefeea [INFO] running `Command { std: "docker" "start" "-a" "1b2c2f6c9ad0eb5d82dc6a8c31add34470738a2ce9938038bcd226df0ffefeea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b2c2f6c9ad0eb5d82dc6a8c31add34470738a2ce9938038bcd226df0ffefeea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b2c2f6c9ad0eb5d82dc6a8c31add34470738a2ce9938038bcd226df0ffefeea", kill_on_drop: false }` [INFO] [stdout] 1b2c2f6c9ad0eb5d82dc6a8c31add34470738a2ce9938038bcd226df0ffefeea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9dcaa0a75e292f96aae87f5a0e5d47df9675022c00889d9da10fe95f6a449c5a [INFO] running `Command { std: "docker" "start" "-a" "9dcaa0a75e292f96aae87f5a0e5d47df9675022c00889d9da10fe95f6a449c5a", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling unic-char-range v0.7.0 [INFO] [stderr] Compiling unic-common v0.7.0 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling resast v0.2.1 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling unic-ucd-version v0.7.0 [INFO] [stderr] Compiling unic-char-property v0.7.0 [INFO] [stderr] Compiling unic-ucd-ident v0.7.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling ress v0.6.3 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling ressa v0.5.2 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(rust_2021_compatibility)]`) 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] 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)]` (part of `#[warn(rust_2021_compatibility)]`) 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.into_iter() [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 - VARINTS.into_iter() [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.into_iter() [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 - VARINTS.into_iter() [INFO] [stdout] 23 + IntoIterator::into_iter(VARINTS) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.19s [INFO] running `Command { std: "docker" "inspect" "9dcaa0a75e292f96aae87f5a0e5d47df9675022c00889d9da10fe95f6a449c5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dcaa0a75e292f96aae87f5a0e5d47df9675022c00889d9da10fe95f6a449c5a", kill_on_drop: false }` [INFO] [stdout] 9dcaa0a75e292f96aae87f5a0e5d47df9675022c00889d9da10fe95f6a449c5a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 62cb98e1665a335a6b56418a60c41d36bd2df706a73c71a9edb5e7b0d362b3f9 [INFO] running `Command { std: "docker" "start" "-a" "62cb98e1665a335a6b56418a60c41d36bd2df706a73c71a9edb5e7b0d362b3f9", kill_on_drop: false }` [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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(rust_2021_compatibility)]`) 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] 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)]` (part of `#[warn(rust_2021_compatibility)]`) 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.into_iter() [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 - VARINTS.into_iter() [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.into_iter() [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 - VARINTS.into_iter() [INFO] [stdout] 23 + IntoIterator::into_iter(VARINTS) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(rust_2021_compatibility)]`) 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] ... | [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)]` (part of `#[warn(rust_2021_compatibility)]`) 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.into_iter() [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 - VARINTS.into_iter() [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.into_iter() [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 - VARINTS.into_iter() [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] 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.into_iter() [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 - VARINTS.into_iter() [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.into_iter() [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 - VARINTS.into_iter() [INFO] [stdout] 23 + IntoIterator::into_iter(VARINTS) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.92s [INFO] running `Command { std: "docker" "inspect" "62cb98e1665a335a6b56418a60c41d36bd2df706a73c71a9edb5e7b0d362b3f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62cb98e1665a335a6b56418a60c41d36bd2df706a73c71a9edb5e7b0d362b3f9", kill_on_drop: false }` [INFO] [stdout] 62cb98e1665a335a6b56418a60c41d36bd2df706a73c71a9edb5e7b0d362b3f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f2a1936a6aec308835a2b9fa4eb6be0d2d975db3a72af898addbb87743c8e30a [INFO] running `Command { std: "docker" "start" "-a" "f2a1936a6aec308835a2b9fa4eb6be0d2d975db3a72af898addbb87743c8e30a", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around match arm expression [INFO] [stderr] --> src/bytecode.rs:576:52 [INFO] [stderr] | [INFO] [stderr] 576 | BytecodeElement::Operation(cmd) => (cmd.instruction == Instruction::ReturnBytecodeFunc), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 576 - BytecodeElement::Operation(cmd) => (cmd.instruction == Instruction::ReturnBytecodeFunc), [INFO] [stderr] 576 + BytecodeElement::Operation(cmd) => cmd.instruction == Instruction::ReturnBytecodeFunc, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:53:32 [INFO] [stderr] | [INFO] [stderr] 53 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 53 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: field `used_decls` is never read [INFO] [stderr] --> src/compiler.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 14 | struct BytecodeFunction [INFO] [stderr] | ---------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 23 | used_decls: Option>, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `BytecodeFunction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: panic message contains an unused formatting placeholder [INFO] [stderr] --> src/bytecode.rs:344:33 [INFO] [stderr] | [INFO] [stderr] 344 | panic!("The string '{}' is too long. Encoded string may only have 65536 charachters."); [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: add the missing argument [INFO] [stderr] | [INFO] [stderr] 344 | panic!("The string '{}' is too long. Encoded string may only have 65536 charachters.", ...); [INFO] [stderr] | +++++ [INFO] [stderr] help: or add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 344 | panic!("{}", "The string '{}' is too long. Encoded string may only have 65536 charachters."); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/instruction_set.rs:23:25 [INFO] [stderr] | [INFO] [stderr] 23 | VARINTS.into_iter() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 73 | / make_enum_helper!( [INFO] [stderr] 74 | | enum CommonLiteral [INFO] [stderr] 75 | | { [INFO] [stderr] 76 | | Num0, [INFO] [stderr] ... | [INFO] [stderr] 80 | | }); [INFO] [stderr] | |__- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(array_into_iter)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `make_enum_helper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 23 - VARINTS.into_iter() [INFO] [stderr] 23 + VARINTS.iter() [INFO] [stderr] | [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 23 - VARINTS.into_iter() [INFO] [stderr] 23 + IntoIterator::into_iter(VARINTS) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/instruction_set.rs:23:25 [INFO] [stderr] | [INFO] [stderr] 23 | VARINTS.into_iter() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 123 | / make_enum_helper!( [INFO] [stderr] 124 | | enum ReservedeRegister { [INFO] [stderr] 125 | | BytecodePointer, [INFO] [stderr] 126 | | BytecodeFuncReturn, [INFO] [stderr] 127 | | TrashRegister [INFO] [stderr] 128 | | }); [INFO] [stderr] | |__- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `make_enum_helper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 23 - VARINTS.into_iter() [INFO] [stderr] 23 + VARINTS.iter() [INFO] [stderr] | [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 23 - VARINTS.into_iter() [INFO] [stderr] 23 + IntoIterator::into_iter(VARINTS) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `jsyc-compiler` (lib) generated 6 warnings (run `cargo fix --lib -p jsyc-compiler` to apply 5 suggestions) [INFO] [stderr] 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] [stderr] --> src/instruction_set.rs:23:25 [INFO] [stderr] | [INFO] [stderr] 23 | VARINTS.into_iter() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 35 | / make_enum_helper!( [INFO] [stderr] 36 | | enum TestEnumA { [INFO] [stderr] 37 | | A, [INFO] [stderr] 38 | | B, [INFO] [stderr] ... | [INFO] [stderr] 41 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(array_into_iter)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `make_enum_helper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 23 - VARINTS.into_iter() [INFO] [stderr] 23 + VARINTS.iter() [INFO] [stderr] | [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 23 - VARINTS.into_iter() [INFO] [stderr] 23 + IntoIterator::into_iter(VARINTS) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/instruction_set.rs:23:25 [INFO] [stderr] | [INFO] [stderr] 23 | VARINTS.into_iter() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 56 | / make_enum_helper!( [INFO] [stderr] 57 | | enum TestEnumB { [INFO] [stderr] 58 | | A [INFO] [stderr] 59 | | } [INFO] [stderr] 60 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `make_enum_helper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 23 - VARINTS.into_iter() [INFO] [stderr] 23 + VARINTS.iter() [INFO] [stderr] | [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 23 - VARINTS.into_iter() [INFO] [stderr] 23 + IntoIterator::into_iter(VARINTS) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/instruction_set.rs:23:25 [INFO] [stderr] | [INFO] [stderr] 23 | VARINTS.into_iter() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 73 | / make_enum_helper!( [INFO] [stderr] 74 | | enum CommonLiteral [INFO] [stderr] 75 | | { [INFO] [stderr] 76 | | Num0, [INFO] [stderr] ... | [INFO] [stderr] 80 | | }); [INFO] [stderr] | |__- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `make_enum_helper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 23 - VARINTS.into_iter() [INFO] [stderr] 23 + VARINTS.iter() [INFO] [stderr] | [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 23 - VARINTS.into_iter() [INFO] [stderr] 23 + IntoIterator::into_iter(VARINTS) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `jsyc-compiler` (lib test) generated 8 warnings (5 duplicates) (run `cargo fix --lib -p jsyc-compiler --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/jsyc_compiler-c78dd9d47d63bedf) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test bytecode::test_command ... ok [INFO] [stdout] test bytecode::test_encode_float_num ... ok [INFO] [stdout] test bytecode::test_encode_long_num ... ok [INFO] [stdout] test bytecode::test_encode_registers_array ... ok [INFO] [stdout] test bytecode::test_encode_string ... ok [INFO] [stdout] test bytecode::test_instrution_to_byte ... ok [INFO] [stdout] test bytecode::test_last_op_is_return ... ok [INFO] [stdout] test instruction_set::test_make_enum_helper ... ok [INFO] [stdout] test compiler::test_bytecode_compile_var_decl ... ok [INFO] [stdout] test bytecode::test_bytecode_literal_from_literal ... ok [INFO] [stdout] test scope::test_scopes ... ok [INFO] [stdout] test bytecode::test_format_print ... ok [INFO] [stdout] test bytecode::test_bytecode_to_bytes ... ok [INFO] [stderr] Running tests/lib.rs (/opt/rustwide/target/debug/deps/lib-1e9acc4826af972c) [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test test_compile_empty_js ... ok [INFO] [stdout] test test_array_expr ... ok [INFO] [stdout] test test_assigmnet_expr ... ok [INFO] [stdout] test test_member_expr ... ok [INFO] [stdout] test test_compile_js_func_call ... ok [INFO] [stdout] test test_unary_expr ... ok [INFO] [stdout] test test_unsupported_exprs ... ok [INFO] [stdout] test test_bytecode_func_calls ... ok [INFO] [stdout] test test_compiler_api ... ok [INFO] [stdout] test test_compile_js_decls ... ok [INFO] [stdout] test test_unsupported_stmts ... ok [INFO] [stdout] test test_jump_stmts ... ok [INFO] [stdout] test test_cond_expr ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stderr] Doc-tests jsyc_compiler [INFO] [stderr] warning: unnecessary parentheses around match arm expression [INFO] [stderr] --> src/bytecode.rs:576:52 [INFO] [stderr] | [INFO] [stderr] 576 | BytecodeElement::Operation(cmd) => (cmd.instruction == Instruction::ReturnBytecodeFunc), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 576 - BytecodeElement::Operation(cmd) => (cmd.instruction == Instruction::ReturnBytecodeFunc), [INFO] [stderr] 576 + BytecodeElement::Operation(cmd) => cmd.instruction == Instruction::ReturnBytecodeFunc, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/bytecode.rs - bytecode::Bytecode (line 509) ... ok [INFO] [stdout] test src/jshelper.rs - jshelper::JSSourceCode (line 7) ... ok [INFO] [stdout] test src/bytecode.rs - bytecode::Operation (line 438) ... ok [INFO] [stdout] test src/compiler.rs - compiler::BytecodeCompiler::compile (line 152) ... ok [INFO] [stdout] test src/compiler.rs - compiler::BytecodeCompiler (line 94) ... ok [INFO] [stdout] test src/jshelper.rs - jshelper::JSAst (line 29) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.27s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f2a1936a6aec308835a2b9fa4eb6be0d2d975db3a72af898addbb87743c8e30a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2a1936a6aec308835a2b9fa4eb6be0d2d975db3a72af898addbb87743c8e30a", kill_on_drop: false }` [INFO] [stdout] f2a1936a6aec308835a2b9fa4eb6be0d2d975db3a72af898addbb87743c8e30a