[INFO] fetching crate stack-vm 1.0.1... [INFO] testing stack-vm-1.0.1 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate stack-vm 1.0.1 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate stack-vm 1.0.1 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate stack-vm 1.0.1 [INFO] finished tweaking crates.io crate stack-vm 1.0.1 [INFO] tweaked toml for crates.io crate stack-vm 1.0.1 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38a2269bbc8260aca78a90d37210da43ea53af653dd4237d6a9196eca176df8b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "38a2269bbc8260aca78a90d37210da43ea53af653dd4237d6a9196eca176df8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38a2269bbc8260aca78a90d37210da43ea53af653dd4237d6a9196eca176df8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38a2269bbc8260aca78a90d37210da43ea53af653dd4237d6a9196eca176df8b", kill_on_drop: false }` [INFO] [stdout] 38a2269bbc8260aca78a90d37210da43ea53af653dd4237d6a9196eca176df8b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cf339aef97d0272d2ac747a0e10b1d410a958fa9314e97a8c0e770c30bda3807 [INFO] running `Command { std: "docker" "start" "-a" "cf339aef97d0272d2ac747a0e10b1d410a958fa9314e97a8c0e770c30bda3807", kill_on_drop: false }` [INFO] [stderr] Compiling stack-vm v1.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/machine.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | pub constants: &'a Table, [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 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 - pub constants: &'a Table, [INFO] [stdout] 24 + pub constants: &'a dyn Table, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/from_byte_code.rs:44:31 [INFO] [stdout] | [INFO] [stdout] 44 | fn from_byte_code(_: &mut Read) -> Self; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 - fn from_byte_code(_: &mut Read) -> Self; [INFO] [stdout] 44 + fn from_byte_code(_: &mut dyn Read) -> Self; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/machine.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | constants: &'a Table, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 - constants: &'a Table, [INFO] [stdout] 36 + constants: &'a dyn Table, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/to_byte_code.rs:51:36 [INFO] [stdout] | [INFO] [stdout] 51 | fn to_byte_code(&self, _: &mut Write); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - fn to_byte_code(&self, _: &mut Write); [INFO] [stdout] 51 + fn to_byte_code(&self, _: &mut dyn Write); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/code/from_byte_code.rs:66:30 [INFO] [stdout] | [INFO] [stdout] 66 | fn read_string(mut buf: &mut Read) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 - fn read_string(mut buf: &mut Read) -> String { [INFO] [stdout] 66 + fn read_string(mut buf: &mut dyn Read) -> String { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/code/from_byte_code.rs:8:37 [INFO] [stdout] | [INFO] [stdout] 8 | fn from_byte_code(mut buf: &mut Read) -> Code { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 - fn from_byte_code(mut buf: &mut Read) -> Code { [INFO] [stdout] 8 + fn from_byte_code(mut buf: &mut dyn Read) -> Code { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/code/to_byte_code.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | fn to_byte_code(&self, mut buf: &mut Write) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 - fn to_byte_code(&self, mut buf: &mut Write) { [INFO] [stdout] 19 + fn to_byte_code(&self, mut buf: &mut dyn Write) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.22s [INFO] running `Command { std: "docker" "inspect" "cf339aef97d0272d2ac747a0e10b1d410a958fa9314e97a8c0e770c30bda3807", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf339aef97d0272d2ac747a0e10b1d410a958fa9314e97a8c0e770c30bda3807", kill_on_drop: false }` [INFO] [stdout] cf339aef97d0272d2ac747a0e10b1d410a958fa9314e97a8c0e770c30bda3807 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39a7ff4988eaa4da9a18758c3f9cba56f4c5ba09e1867c4963984e7e016bc87a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "39a7ff4988eaa4da9a18758c3f9cba56f4c5ba09e1867c4963984e7e016bc87a", kill_on_drop: false }` [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/machine.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | pub constants: &'a Table, [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 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 - pub constants: &'a Table, [INFO] [stdout] 24 + pub constants: &'a dyn Table, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/from_byte_code.rs:44:31 [INFO] [stdout] | [INFO] [stdout] 44 | fn from_byte_code(_: &mut Read) -> Self; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 - fn from_byte_code(_: &mut Read) -> Self; [INFO] [stdout] 44 + fn from_byte_code(_: &mut dyn Read) -> Self; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/machine.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | constants: &'a Table, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 - constants: &'a Table, [INFO] [stdout] 36 + constants: &'a dyn Table, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/to_byte_code.rs:51:36 [INFO] [stdout] | [INFO] [stdout] 51 | fn to_byte_code(&self, _: &mut Write); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - fn to_byte_code(&self, _: &mut Write); [INFO] [stdout] 51 + fn to_byte_code(&self, _: &mut dyn Write); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/code/from_byte_code.rs:66:30 [INFO] [stdout] | [INFO] [stdout] 66 | fn read_string(mut buf: &mut Read) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 - fn read_string(mut buf: &mut Read) -> String { [INFO] [stdout] 66 + fn read_string(mut buf: &mut dyn Read) -> String { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/code/from_byte_code.rs:8:37 [INFO] [stdout] | [INFO] [stdout] 8 | fn from_byte_code(mut buf: &mut Read) -> Code { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 - fn from_byte_code(mut buf: &mut Read) -> Code { [INFO] [stdout] 8 + fn from_byte_code(mut buf: &mut dyn Read) -> Code { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/code/to_byte_code.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | fn to_byte_code(&self, mut buf: &mut Write) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 - fn to_byte_code(&self, mut buf: &mut Write) { [INFO] [stdout] 19 + fn to_byte_code(&self, mut buf: &mut dyn Write) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling stack-vm v1.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/machine.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | pub constants: &'a Table, [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 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 - pub constants: &'a Table, [INFO] [stdout] 24 + pub constants: &'a dyn Table, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/from_byte_code.rs:44:31 [INFO] [stdout] | [INFO] [stdout] 44 | fn from_byte_code(_: &mut Read) -> Self; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 - fn from_byte_code(_: &mut Read) -> Self; [INFO] [stdout] 44 + fn from_byte_code(_: &mut dyn Read) -> Self; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/machine.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | constants: &'a Table, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 - constants: &'a Table, [INFO] [stdout] 36 + constants: &'a dyn Table, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/to_byte_code.rs:51:36 [INFO] [stdout] | [INFO] [stdout] 51 | fn to_byte_code(&self, _: &mut Write); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - fn to_byte_code(&self, _: &mut Write); [INFO] [stdout] 51 + fn to_byte_code(&self, _: &mut dyn Write); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/code/from_byte_code.rs:66:30 [INFO] [stdout] | [INFO] [stdout] 66 | fn read_string(mut buf: &mut Read) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 - fn read_string(mut buf: &mut Read) -> String { [INFO] [stdout] 66 + fn read_string(mut buf: &mut dyn Read) -> String { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/code/from_byte_code.rs:8:37 [INFO] [stdout] | [INFO] [stdout] 8 | fn from_byte_code(mut buf: &mut Read) -> Code { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 - fn from_byte_code(mut buf: &mut Read) -> Code { [INFO] [stdout] 8 + fn from_byte_code(mut buf: &mut dyn Read) -> Code { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/code/to_byte_code.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | fn to_byte_code(&self, mut buf: &mut Write) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 - fn to_byte_code(&self, mut buf: &mut Write) { [INFO] [stdout] 19 + fn to_byte_code(&self, mut buf: &mut dyn Write) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/code/mod.rs:199:46 [INFO] [stdout] | [INFO] [stdout] 199 | fn to_byte_code(&self, mut buf: &mut Write) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 199 - fn to_byte_code(&self, mut buf: &mut Write) { [INFO] [stdout] 199 + fn to_byte_code(&self, mut buf: &mut dyn Write) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/code/mod.rs:205:41 [INFO] [stdout] | [INFO] [stdout] 205 | fn from_byte_code(mut buf: &mut Read) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 205 - fn from_byte_code(mut buf: &mut Read) -> usize { [INFO] [stdout] 205 + fn from_byte_code(mut buf: &mut dyn Read) -> usize { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/from_byte_code.rs:56:41 [INFO] [stdout] | [INFO] [stdout] 56 | fn from_byte_code(mut buf: &mut Read) -> Operand { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 - fn from_byte_code(mut buf: &mut Read) -> Operand { [INFO] [stdout] 56 + fn from_byte_code(mut buf: &mut dyn Read) -> Operand { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/to_byte_code.rs:62:46 [INFO] [stdout] | [INFO] [stdout] 62 | fn to_byte_code(&self, mut buf: &mut Write) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 - fn to_byte_code(&self, mut buf: &mut Write) { [INFO] [stdout] 62 + fn to_byte_code(&self, mut buf: &mut dyn Write) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.04s [INFO] running `Command { std: "docker" "inspect" "39a7ff4988eaa4da9a18758c3f9cba56f4c5ba09e1867c4963984e7e016bc87a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39a7ff4988eaa4da9a18758c3f9cba56f4c5ba09e1867c4963984e7e016bc87a", kill_on_drop: false }` [INFO] [stdout] 39a7ff4988eaa4da9a18758c3f9cba56f4c5ba09e1867c4963984e7e016bc87a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 29bd21bf616701cf9077bce5247bdec1b94896cf7365d6188fe1b705f0818792 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "29bd21bf616701cf9077bce5247bdec1b94896cf7365d6188fe1b705f0818792", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/machine.rs:24:24 [INFO] [stderr] | [INFO] [stderr] 24 | pub constants: &'a Table, [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 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 24 - pub constants: &'a Table, [INFO] [stderr] 24 + pub constants: &'a dyn Table, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/from_byte_code.rs:44:31 [INFO] [stderr] | [INFO] [stderr] 44 | fn from_byte_code(_: &mut Read) -> Self; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 44 - fn from_byte_code(_: &mut Read) -> Self; [INFO] [stderr] 44 + fn from_byte_code(_: &mut dyn Read) -> Self; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/machine.rs:36:24 [INFO] [stderr] | [INFO] [stderr] 36 | constants: &'a Table, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 36 - constants: &'a Table, [INFO] [stderr] 36 + constants: &'a dyn Table, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/to_byte_code.rs:51:36 [INFO] [stderr] | [INFO] [stderr] 51 | fn to_byte_code(&self, _: &mut Write); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 51 - fn to_byte_code(&self, _: &mut Write); [INFO] [stderr] 51 + fn to_byte_code(&self, _: &mut dyn Write); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/code/from_byte_code.rs:66:30 [INFO] [stderr] | [INFO] [stderr] 66 | fn read_string(mut buf: &mut Read) -> String { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 66 - fn read_string(mut buf: &mut Read) -> String { [INFO] [stderr] 66 + fn read_string(mut buf: &mut dyn Read) -> String { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/code/from_byte_code.rs:8:37 [INFO] [stderr] | [INFO] [stderr] 8 | fn from_byte_code(mut buf: &mut Read) -> Code { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 8 - fn from_byte_code(mut buf: &mut Read) -> Code { [INFO] [stderr] 8 + fn from_byte_code(mut buf: &mut dyn Read) -> Code { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/code/to_byte_code.rs:19:42 [INFO] [stderr] | [INFO] [stderr] 19 | fn to_byte_code(&self, mut buf: &mut Write) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 19 - fn to_byte_code(&self, mut buf: &mut Write) { [INFO] [stderr] 19 + fn to_byte_code(&self, mut buf: &mut dyn Write) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/code/mod.rs:199:46 [INFO] [stderr] | [INFO] [stderr] 199 | fn to_byte_code(&self, mut buf: &mut Write) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 199 - fn to_byte_code(&self, mut buf: &mut Write) { [INFO] [stderr] 199 + fn to_byte_code(&self, mut buf: &mut dyn Write) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/code/mod.rs:205:41 [INFO] [stderr] | [INFO] [stderr] 205 | fn from_byte_code(mut buf: &mut Read) -> usize { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 205 - fn from_byte_code(mut buf: &mut Read) -> usize { [INFO] [stderr] 205 + fn from_byte_code(mut buf: &mut dyn Read) -> usize { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/from_byte_code.rs:56:41 [INFO] [stderr] | [INFO] [stderr] 56 | fn from_byte_code(mut buf: &mut Read) -> Operand { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 56 - fn from_byte_code(mut buf: &mut Read) -> Operand { [INFO] [stderr] 56 + fn from_byte_code(mut buf: &mut dyn Read) -> Operand { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/to_byte_code.rs:62:46 [INFO] [stderr] | [INFO] [stderr] 62 | fn to_byte_code(&self, mut buf: &mut Write) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 62 - fn to_byte_code(&self, mut buf: &mut Write) { [INFO] [stderr] 62 + fn to_byte_code(&self, mut buf: &mut dyn Write) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `stack-vm` (lib) generated 7 warnings [INFO] [stderr] warning: `stack-vm` (lib test) generated 11 warnings (7 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/stack_vm-0562887a1fb04ea4) [INFO] [stdout] [INFO] [stdout] running 43 tests [INFO] [stdout] test acceptance::arithmetic::addition_example ... ok [INFO] [stdout] test acceptance::arithmetic::division_example ... ok [INFO] [stdout] test acceptance::arithmetic::multiplication_example ... ok [INFO] [stdout] test builder::test::new ... ok [INFO] [stdout] test builder::test::push ... ok [INFO] [stdout] test builder::test::data_is_deduped ... ok [INFO] [stdout] test acceptance::functions::example ... ok [INFO] [stdout] test instruction_table::test::by_name ... ok [INFO] [stdout] test instruction_table::test::by_op_code ... ok [INFO] [stdout] test instruction_table::test::insert ... ok [INFO] [stdout] test instruction_table::test::new ... ok [INFO] [stdout] test machine::test::get_local ... ok [INFO] [stdout] test machine::test::get_local_deep ... ok [INFO] [stdout] test machine::test::new ... ok [INFO] [stdout] test machine::test::run ... ok [INFO] [stdout] test machine::test::set_local ... ok [INFO] [stdout] test from_byte_code::test::from_byte_code ... ok [INFO] [stdout] test code::test::to_byte_code ... ok [INFO] [stdout] test instruction::test::new ... ok [INFO] [stdout] test frame::test::new_has_locals ... ok [INFO] [stdout] test acceptance::arithmetic::subtraction_example ... ok [INFO] [stdout] test acceptance::conditionals::condition_false ... ok [INFO] [stdout] test acceptance::conditionals::condition_true ... ok [INFO] [stdout] test code::test::debug_formatter ... ok [INFO] [stdout] test builder::test::debug_format ... ok [INFO] [stdout] test builder::test::label ... ok [INFO] [stdout] test stack::test::pop ... ok [INFO] [stdout] test to_byte_code::test::to_byte_code ... ok [INFO] [stdout] test stack::test::new ... ok [INFO] [stdout] test stack::test::push ... ok [INFO] [stdout] test write_many_table::test::insert_is_mutable ... ok [INFO] [stdout] test write_many_table::test::new ... ok [INFO] [stdout] test write_once_table::test::insert ... ok [INFO] [stdout] test write_many_table::test::insert ... ok [INFO] [stdout] test code::test::get_label_ip ... ok [INFO] [stdout] test write_once_table::test::new ... ok [INFO] [stdout] test stack::test::peek ... ok [INFO] [stdout] test code::test::from_byte_code ... ok [INFO] [stdout] test code::test::from_builder ... ok [INFO] [stdout] test builder::test::push_with_incorrect_arity - should panic ... ok [INFO] [stdout] test stack::test::empty_peek - should panic ... ok [INFO] [stdout] test stack::test::empty_pop - should panic ... ok [INFO] [stdout] test write_once_table::test::insert_uniq - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 43 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stderr] Doc-tests stack-vm [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test src/instruction.rs - instruction (line 23) ... ok [INFO] [stdout] test src/lib.rs - (line 57) ... ok [INFO] [stdout] test src/instruction.rs - instruction (line 10) ... ok [INFO] [stdout] test src/instruction.rs - instruction (line 36) ... ok [INFO] [stdout] test src/from_byte_code.rs - from_byte_code::FromByteCode::from_byte_code (line 24) ... ok [INFO] [stdout] test src/stack.rs - stack::Stack (line 10) ... ok [INFO] [stdout] test src/write_many_table.rs - write_many_table::WriteManyTable (line 9) ... ok [INFO] [stdout] test src/code/mod.rs - code (line 63) ... ok [INFO] [stdout] test src/to_byte_code.rs - to_byte_code::ToByteCode::to_byte_code (line 30) ... ok [INFO] [stdout] test src/write_once_table.rs - write_once_table::WriteOnceTable (line 23) ... ok [INFO] [stdout] test src/lib.rs - (line 83) ... ok [INFO] [stdout] test src/code/mod.rs - code (line 11) ... ok [INFO] [stdout] test src/code/mod.rs - code (line 36) ... ok [INFO] [stdout] test src/write_once_table.rs - write_once_table::WriteOnceTable (line 9) ... ok [INFO] [stdout] test src/lib.rs - (line 111) ... ok [INFO] [stdout] test src/builder.rs - builder (line 7) ... ok [INFO] [stdout] test src/lib.rs - (line 153) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.99s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "29bd21bf616701cf9077bce5247bdec1b94896cf7365d6188fe1b705f0818792", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29bd21bf616701cf9077bce5247bdec1b94896cf7365d6188fe1b705f0818792", kill_on_drop: false }` [INFO] [stdout] 29bd21bf616701cf9077bce5247bdec1b94896cf7365d6188fe1b705f0818792