[INFO] fetching crate jsyc-compiler 0.1.0... [INFO] testing jsyc-compiler-0.1.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate jsyc-compiler 0.1.0 into /workspace/builds/worker-18/source [INFO] validating manifest of crates.io crate jsyc-compiler 0.1.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-18/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 964f3d302f46b33ccaf20cf89d05c8a923892d9cf2a120ff81e0a324af10dd60 [INFO] running `Command { std: "docker" "start" "-a" "964f3d302f46b33ccaf20cf89d05c8a923892d9cf2a120ff81e0a324af10dd60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "964f3d302f46b33ccaf20cf89d05c8a923892d9cf2a120ff81e0a324af10dd60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "964f3d302f46b33ccaf20cf89d05c8a923892d9cf2a120ff81e0a324af10dd60", kill_on_drop: false }` [INFO] [stdout] 964f3d302f46b33ccaf20cf89d05c8a923892d9cf2a120ff81e0a324af10dd60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61e6ced7b9a254a95c747d1f9ac2269fbf508885b6263ca8cff0852f3514d110 [INFO] running `Command { std: "docker" "start" "-a" "61e6ced7b9a254a95c747d1f9ac2269fbf508885b6263ca8cff0852f3514d110", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling unic-common v0.7.0 [INFO] [stderr] Compiling unic-char-range v0.7.0 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling resast v0.2.1 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling base64 v0.10.1 [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 v0.7.18 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling ress v0.6.3 [INFO] [stderr] Compiling ressa v0.5.2 [INFO] [stderr] Compiling jsyc-compiler v0.1.0 (/opt/rustwide/workdir) [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] = note: `#[warn(bare_trait_objects)]` on by default [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 53 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `used_decls` [INFO] [stdout] --> src/compiler.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | used_decls: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `BytecodeFunction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/compiler.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [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] = note: `#[warn(array_into_iter)]` on by default [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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.99s [INFO] running `Command { std: "docker" "inspect" "61e6ced7b9a254a95c747d1f9ac2269fbf508885b6263ca8cff0852f3514d110", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61e6ced7b9a254a95c747d1f9ac2269fbf508885b6263ca8cff0852f3514d110", kill_on_drop: false }` [INFO] [stdout] 61e6ced7b9a254a95c747d1f9ac2269fbf508885b6263ca8cff0852f3514d110 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42a80eafe6be33067258d24e9433458d4cdfe30e6642c6a8a59a7c86095aa371 [INFO] running `Command { std: "docker" "start" "-a" "42a80eafe6be33067258d24e9433458d4cdfe30e6642c6a8a59a7c86095aa371", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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] = note: `#[warn(bare_trait_objects)]` on by default [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 53 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `used_decls` [INFO] [stdout] --> src/compiler.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | used_decls: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `BytecodeFunction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/compiler.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [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] = note: `#[warn(array_into_iter)]` on by default [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] [stderr] Compiling jsyc-compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: 5 warnings emitted [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] = note: `#[warn(bare_trait_objects)]` on by default [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 53 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `used_decls` [INFO] [stdout] --> src/compiler.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | used_decls: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `BytecodeFunction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/compiler.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [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] = note: `#[warn(array_into_iter)]` on by default [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] 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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.17s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/jsyc_compiler-0b7700a2a3f884f4) [INFO] [stderr] Executable tests/lib.rs (/opt/rustwide/target/debug/deps/lib-88a5c79b5011d035) [INFO] running `Command { std: "docker" "inspect" "42a80eafe6be33067258d24e9433458d4cdfe30e6642c6a8a59a7c86095aa371", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42a80eafe6be33067258d24e9433458d4cdfe30e6642c6a8a59a7c86095aa371", kill_on_drop: false }` [INFO] [stdout] 42a80eafe6be33067258d24e9433458d4cdfe30e6642c6a8a59a7c86095aa371 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7e01743c324cc787a27b918683a467ee846bb9e25404be19691b953706a0075a [INFO] running `Command { std: "docker" "start" "-a" "7e01743c324cc787a27b918683a467ee846bb9e25404be19691b953706a0075a", kill_on_drop: false }` [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] = note: `#[warn(bare_trait_objects)]` on by default [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 53 - fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] 53 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field is never read: `used_decls` [INFO] [stderr] --> src/compiler.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | used_decls: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `BytecodeFunction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/compiler.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [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] 79 | | // EmptyString [INFO] [stderr] 80 | | }); [INFO] [stderr] | |__- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(array_into_iter)]` on by default [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.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 | 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.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 | 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] 35 | / make_enum_helper!( [INFO] [stderr] 36 | | enum TestEnumA { [INFO] [stderr] 37 | | A, [INFO] [stderr] 38 | | B, [INFO] [stderr] 39 | | C [INFO] [stderr] 40 | | } [INFO] [stderr] 41 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(array_into_iter)]` on by default [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.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 | 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.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 | 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] 79 | | // EmptyString [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.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 | IntoIterator::into_iter(VARINTS) [INFO] [stderr] | ++++++++++++++++++++++++ ~ [INFO] [stderr] [INFO] [stderr] warning: `jsyc-compiler` (lib) generated 5 warnings [INFO] [stderr] warning: `jsyc-compiler` (lib test) generated 7 warnings (4 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/jsyc_compiler-0b7700a2a3f884f4) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test bytecode::test_bytecode_literal_from_literal ... ok [INFO] [stdout] test bytecode::test_command ... ok [INFO] [stdout] test bytecode::test_bytecode_to_bytes ... ok [INFO] [stdout] test bytecode::test_encode_long_num ... ok [INFO] [stdout] test bytecode::test_encode_string ... ok [INFO] [stdout] test bytecode::test_encode_registers_array ... 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 scope::test_scopes ... ok [INFO] [stdout] test compiler::test_bytecode_compile_var_decl ... ok [INFO] [stdout] test bytecode::test_format_print ... ok [INFO] [stdout] test bytecode::test_encode_float_num ... ok [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] [stderr] Running tests/lib.rs (/opt/rustwide/target/debug/deps/lib-88a5c79b5011d035) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test test_compile_empty_js ... ok [INFO] [stdout] test test_compiler_api ... ok [INFO] [stdout] test test_bytecode_func_calls ... ok [INFO] [stdout] test test_assigmnet_expr ... ok [INFO] [stdout] test test_array_expr ... ok [INFO] [stdout] test test_unary_expr ... ok [INFO] [stdout] test test_compile_js_func_call ... ok [INFO] [stdout] test test_cond_expr ... ok [INFO] [stdout] test test_member_expr ... ok [INFO] [stdout] test test_unsupported_exprs ... ok [INFO] [stdout] test test_compile_js_decls ... ok [INFO] [stdout] test test_jump_stmts ... ok [INFO] [stdout] test test_unsupported_stmts ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Doc-tests jsyc-compiler [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/jshelper.rs - jshelper::JSSourceCode (line 7) ... ok [INFO] [stdout] test src/compiler.rs - compiler::BytecodeCompiler::compile (line 152) ... ok [INFO] [stdout] test src/bytecode.rs - bytecode::Operation (line 438) ... ok [INFO] [stdout] test src/bytecode.rs - bytecode::Bytecode (line 509) ... ok [INFO] [stdout] test src/jshelper.rs - jshelper::JSAst (line 29) ... ok [INFO] [stdout] test src/compiler.rs - compiler::BytecodeCompiler (line 94) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.39s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7e01743c324cc787a27b918683a467ee846bb9e25404be19691b953706a0075a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e01743c324cc787a27b918683a467ee846bb9e25404be19691b953706a0075a", kill_on_drop: false }` [INFO] [stdout] 7e01743c324cc787a27b918683a467ee846bb9e25404be19691b953706a0075a