[INFO] cloning repository https://github.com/robinvd/vm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/robinvd/vm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobinvd%2Fvm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobinvd%2Fvm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 841ea10727e816623721ed35a728c489af5a7213 [INFO] checking robinvd/vm against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobinvd%2Fvm" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/robinvd/vm on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/robinvd/vm [INFO] finished tweaking git repo https://github.com/robinvd/vm [INFO] tweaked toml for git repo https://github.com/robinvd/vm written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/robinvd/vm already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quote v0.6.9 [INFO] [stderr] Downloaded itertools-num v0.1.2 [INFO] [stderr] Downloaded criterion-plot v0.2.5 [INFO] [stderr] Downloaded criterion-stats v0.2.5 [INFO] [stderr] Downloaded csv-core v0.1.4 [INFO] [stderr] Downloaded cast v0.2.2 [INFO] [stderr] Downloaded syn v0.15.17 [INFO] [stderr] Downloaded criterion v0.2.5 [INFO] [stderr] Downloaded handlebars v0.32.4 [INFO] [stderr] Downloaded itertools v0.7.8 [INFO] [stderr] Downloaded serde_json v1.0.32 [INFO] [stderr] Downloaded csv v1.0.2 [INFO] [stderr] Downloaded combine v3.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1076e4dbd49dbd9a81c25778f3058eea88a2d1cca9a172e3c0408eb5bb143738 [INFO] running `Command { std: "docker" "start" "-a" "1076e4dbd49dbd9a81c25778f3058eea88a2d1cca9a172e3c0408eb5bb143738", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1076e4dbd49dbd9a81c25778f3058eea88a2d1cca9a172e3c0408eb5bb143738", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1076e4dbd49dbd9a81c25778f3058eea88a2d1cca9a172e3c0408eb5bb143738", kill_on_drop: false }` [INFO] [stdout] 1076e4dbd49dbd9a81c25778f3058eea88a2d1cca9a172e3c0408eb5bb143738 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ddda0eb4f6173d9f04b2b891c175f15e3a64e65823167acf2a156a5a5ccd1159 [INFO] running `Command { std: "docker" "start" "-a" "ddda0eb4f6173d9f04b2b891c175f15e3a64e65823167acf2a156a5a5ccd1159", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling proc-macro2 v0.4.20 [INFO] [stderr] Checking byteorder v1.2.6 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking utf8-ranges v1.0.1 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling failure_derive v0.1.3 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking regex-syntax v0.6.2 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking cast v0.2.2 [INFO] [stderr] Checking rustc-demangle v0.1.9 [INFO] [stderr] Compiling pest v1.0.6 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking ascii v0.7.1 [INFO] [stderr] Checking term v0.5.1 [INFO] [stderr] Checking itertools v0.7.8 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking thread-scoped v1.0.2 [INFO] [stderr] Checking walkdir v2.2.6 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Compiling quote v0.6.9 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking rand v0.4.3 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling syn v0.15.17 [INFO] [stderr] Checking aho-corasick v0.6.8 [INFO] [stderr] Checking csv-core v0.1.4 [INFO] [stderr] Checking combine v3.6.1 [INFO] [stderr] Checking num-integer v0.1.39 [INFO] [stderr] Checking ordered-float v1.0.1 [INFO] [stderr] Checking itertools-num v0.1.2 [INFO] [stderr] Checking criterion-plot v0.2.5 [INFO] [stderr] Checking criterion-stats v0.2.5 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Compiling pest_derive v1.0.8 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Checking simplelog v0.5.3 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Checking serde_json v1.0.32 [INFO] [stderr] Checking csv v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Checking sabi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/vm/mod.rs:602:10 [INFO] [stdout] | [INFO] [stdout] 602 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vm/mod.rs:662:27 [INFO] [stdout] | [INFO] [stdout] 662 | output: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 662 | output: Arc>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vm/mod.rs:668:28 [INFO] [stdout] | [INFO] [stdout] 668 | pub fn new(output: Box) -> Self { [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 668 | pub fn new(output: Box) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking handlebars v0.32.4 [INFO] [stderr] Checking failure v0.1.3 [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/vm/mod.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | Box::from_raw(o.val.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 124 | let _ = Box::from_raw(o.val.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/vm/mod.rs:181:21 [INFO] [stdout] | [INFO] [stdout] 181 | Box::from_raw(o.val.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 181 | let _ = Box::from_raw(o.val.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/vm/mod.rs:296:17 [INFO] [stdout] | [INFO] [stdout] 296 | writeln!(data, "{}", val); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/vm/mod.rs:420:9 [INFO] [stdout] | [INFO] [stdout] 420 | writeln!(f, "{}:", self.name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/vm/mod.rs:429:13 [INFO] [stdout] | [INFO] [stdout] 429 | write!(f, "{:04x}: {:?}", i, op); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/vm/mod.rs:437:17 [INFO] [stdout] | [INFO] [stdout] 437 | write!(f, " {}", num); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/vm/mod.rs:441:13 [INFO] [stdout] | [INFO] [stdout] 441 | writeln!(f); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `$crate::write` which comes from the expansion of the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/vm/mod.rs:444:9 [INFO] [stdout] | [INFO] [stdout] 444 | writeln!(f, "labels {:?}", self.labels); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/vm/mod.rs:445:9 [INFO] [stdout] | [INFO] [stdout] 445 | writeln!(f, "labeli {:?}", self.label_index); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/vm/mod.rs:446:9 [INFO] [stdout] | [INFO] [stdout] 446 | writeln!(f, "const {:?}", self.constants); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking criterion v0.2.5 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> benches/benchmark.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | fn load_vm<'a>(input: &'a str, buffer: Box<'a + std::io::Write + Sync>) -> VM<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | fn load_vm<'a>(input: &'a str, buffer: Box) -> VM<'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/vm/mod.rs:602:10 [INFO] [stdout] | [INFO] [stdout] 602 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vm/mod.rs:662:27 [INFO] [stdout] | [INFO] [stdout] 662 | output: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 662 | output: Arc>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vm/mod.rs:668:28 [INFO] [stdout] | [INFO] [stdout] 668 | pub fn new(output: Box) -> Self { [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 668 | pub fn new(output: Box) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/vm/mod.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | Box::from_raw(o.val.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 124 | let _ = Box::from_raw(o.val.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/vm/mod.rs:181:21 [INFO] [stdout] | [INFO] [stdout] 181 | Box::from_raw(o.val.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 181 | let _ = Box::from_raw(o.val.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/vm/mod.rs:296:17 [INFO] [stdout] | [INFO] [stdout] 296 | writeln!(data, "{}", val); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/vm/mod.rs:420:9 [INFO] [stdout] | [INFO] [stdout] 420 | writeln!(f, "{}:", self.name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/vm/mod.rs:429:13 [INFO] [stdout] | [INFO] [stdout] 429 | write!(f, "{:04x}: {:?}", i, op); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/vm/mod.rs:437:17 [INFO] [stdout] | [INFO] [stdout] 437 | write!(f, " {}", num); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/vm/mod.rs:441:13 [INFO] [stdout] | [INFO] [stdout] 441 | writeln!(f); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `$crate::write` which comes from the expansion of the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/vm/mod.rs:444:9 [INFO] [stdout] | [INFO] [stdout] 444 | writeln!(f, "labels {:?}", self.labels); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/vm/mod.rs:445:9 [INFO] [stdout] | [INFO] [stdout] 445 | writeln!(f, "labeli {:?}", self.label_index); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/vm/mod.rs:446:9 [INFO] [stdout] | [INFO] [stdout] 446 | writeln!(f, "const {:?}", self.constants); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.48s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.2.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "ddda0eb4f6173d9f04b2b891c175f15e3a64e65823167acf2a156a5a5ccd1159", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddda0eb4f6173d9f04b2b891c175f15e3a64e65823167acf2a156a5a5ccd1159", kill_on_drop: false }` [INFO] [stdout] ddda0eb4f6173d9f04b2b891c175f15e3a64e65823167acf2a156a5a5ccd1159 [INFO] checking robinvd/vm against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobinvd%2Fvm" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/robinvd/vm on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/robinvd/vm [INFO] finished tweaking git repo https://github.com/robinvd/vm [INFO] tweaked toml for git repo https://github.com/robinvd/vm written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/robinvd/vm already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d784742ad2e023f23dcff091ac5d8d12ca39a90a8b264604e74334dd96b9e20d [INFO] running `Command { std: "docker" "start" "-a" "d784742ad2e023f23dcff091ac5d8d12ca39a90a8b264604e74334dd96b9e20d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d784742ad2e023f23dcff091ac5d8d12ca39a90a8b264604e74334dd96b9e20d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d784742ad2e023f23dcff091ac5d8d12ca39a90a8b264604e74334dd96b9e20d", kill_on_drop: false }` [INFO] [stdout] d784742ad2e023f23dcff091ac5d8d12ca39a90a8b264604e74334dd96b9e20d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ffffe27a519b72b7d8e29656127bb235bc92139b4f8141435b765983e40f426b [INFO] running `Command { std: "docker" "start" "-a" "ffffe27a519b72b7d8e29656127bb235bc92139b4f8141435b765983e40f426b", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling proc-macro2 v0.4.20 [INFO] [stderr] Checking byteorder v1.2.6 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking utf8-ranges v1.0.1 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling failure_derive v0.1.3 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking cast v0.2.2 [INFO] [stderr] Checking regex-syntax v0.6.2 [INFO] [stderr] Checking rustc-demangle v0.1.9 [INFO] [stderr] Checking ascii v0.7.1 [INFO] [stderr] Compiling pest v1.0.6 [INFO] [stderr] Checking term v0.5.1 [INFO] [stderr] Checking itertools v0.7.8 [INFO] [stderr] Checking thread-scoped v1.0.2 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking walkdir v2.2.6 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking rand v0.4.3 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Checking aho-corasick v0.6.8 [INFO] [stderr] Checking csv-core v0.1.4 [INFO] [stderr] Checking combine v3.6.1 [INFO] [stderr] Compiling quote v0.6.9 [INFO] [stderr] Checking criterion-plot v0.2.5 [INFO] [stderr] Compiling syn v0.15.17 [INFO] [stderr] Checking num-integer v0.1.39 [INFO] [stderr] Checking ordered-float v1.0.1 [INFO] [stderr] Checking criterion-stats v0.2.5 [INFO] [stderr] Checking itertools-num v0.1.2 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Compiling pest_derive v1.0.8 [INFO] [stderr] Checking simplelog v0.5.3 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Checking serde_json v1.0.32 [INFO] [stderr] Checking csv v1.0.2 [INFO] [stderr] Checking sabi v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking failure v0.1.3 [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/vm/mod.rs:602:10 [INFO] [stdout] | [INFO] [stdout] 602 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vm/mod.rs:662:27 [INFO] [stdout] | [INFO] [stdout] 662 | output: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 662 | output: Arc>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vm/mod.rs:668:28 [INFO] [stdout] | [INFO] [stdout] 668 | pub fn new(output: Box) -> Self { [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 668 | pub fn new(output: Box) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking handlebars v0.32.4 [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/vm/mod.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | Box::from_raw(o.val.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 124 | let _ = Box::from_raw(o.val.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/vm/mod.rs:181:21 [INFO] [stdout] | [INFO] [stdout] 181 | Box::from_raw(o.val.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 181 | let _ = Box::from_raw(o.val.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/vm/mod.rs:296:17 [INFO] [stdout] | [INFO] [stdout] 296 | writeln!(data, "{}", val); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/vm/mod.rs:420:9 [INFO] [stdout] | [INFO] [stdout] 420 | writeln!(f, "{}:", self.name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/vm/mod.rs:429:13 [INFO] [stdout] | [INFO] [stdout] 429 | write!(f, "{:04x}: {:?}", i, op); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/vm/mod.rs:437:17 [INFO] [stdout] | [INFO] [stdout] 437 | write!(f, " {}", num); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/vm/mod.rs:441:13 [INFO] [stdout] | [INFO] [stdout] 441 | writeln!(f); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `$crate::write` which comes from the expansion of the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/vm/mod.rs:444:9 [INFO] [stdout] | [INFO] [stdout] 444 | writeln!(f, "labels {:?}", self.labels); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/vm/mod.rs:445:9 [INFO] [stdout] | [INFO] [stdout] 445 | writeln!(f, "labeli {:?}", self.label_index); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/vm/mod.rs:446:9 [INFO] [stdout] | [INFO] [stdout] 446 | writeln!(f, "const {:?}", self.constants); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking criterion v0.2.5 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> benches/benchmark.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | fn load_vm<'a>(input: &'a str, buffer: Box<'a + std::io::Write + Sync>) -> VM<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | fn load_vm<'a>(input: &'a str, buffer: Box) -> VM<'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/vm/mod.rs:602:10 [INFO] [stdout] | [INFO] [stdout] 602 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vm/mod.rs:662:27 [INFO] [stdout] | [INFO] [stdout] 662 | output: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 662 | output: Arc>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vm/mod.rs:668:28 [INFO] [stdout] | [INFO] [stdout] 668 | pub fn new(output: Box) -> Self { [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 668 | pub fn new(output: Box) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/vm/mod.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | Box::from_raw(o.val.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 124 | let _ = Box::from_raw(o.val.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/vm/mod.rs:181:21 [INFO] [stdout] | [INFO] [stdout] 181 | Box::from_raw(o.val.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 181 | let _ = Box::from_raw(o.val.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/vm/mod.rs:296:17 [INFO] [stdout] | [INFO] [stdout] 296 | writeln!(data, "{}", val); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/vm/mod.rs:420:9 [INFO] [stdout] | [INFO] [stdout] 420 | writeln!(f, "{}:", self.name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/vm/mod.rs:429:13 [INFO] [stdout] | [INFO] [stdout] 429 | write!(f, "{:04x}: {:?}", i, op); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/vm/mod.rs:437:17 [INFO] [stdout] | [INFO] [stdout] 437 | write!(f, " {}", num); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/vm/mod.rs:441:13 [INFO] [stdout] | [INFO] [stdout] 441 | writeln!(f); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `$crate::write` which comes from the expansion of the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/vm/mod.rs:444:9 [INFO] [stdout] | [INFO] [stdout] 444 | writeln!(f, "labels {:?}", self.labels); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/vm/mod.rs:445:9 [INFO] [stdout] | [INFO] [stdout] 445 | writeln!(f, "labeli {:?}", self.label_index); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/vm/mod.rs:446:9 [INFO] [stdout] | [INFO] [stdout] 446 | writeln!(f, "const {:?}", self.constants); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.29s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.2.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "ffffe27a519b72b7d8e29656127bb235bc92139b4f8141435b765983e40f426b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffffe27a519b72b7d8e29656127bb235bc92139b4f8141435b765983e40f426b", kill_on_drop: false }` [INFO] [stdout] ffffe27a519b72b7d8e29656127bb235bc92139b4f8141435b765983e40f426b