[INFO] cloning repository https://github.com/kmate/hack-vm-translator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kmate/hack-vm-translator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkmate%2Fhack-vm-translator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkmate%2Fhack-vm-translator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b02dc0e8dc8ab92d54f367e45597146ae4f45f69 [INFO] testing kmate/hack-vm-translator against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkmate%2Fhack-vm-translator" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kmate/hack-vm-translator 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 git repo https://github.com/kmate/hack-vm-translator [INFO] finished tweaking git repo https://github.com/kmate/hack-vm-translator [INFO] tweaked toml for git repo https://github.com/kmate/hack-vm-translator written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/kmate/hack-vm-translator already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] 9bf05d8750dff58e65c6b25e3bdad0c9102973b382ce733a4a54ff4825a0ffef [INFO] running `Command { std: "docker" "start" "-a" "9bf05d8750dff58e65c6b25e3bdad0c9102973b382ce733a4a54ff4825a0ffef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9bf05d8750dff58e65c6b25e3bdad0c9102973b382ce733a4a54ff4825a0ffef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bf05d8750dff58e65c6b25e3bdad0c9102973b382ce733a4a54ff4825a0ffef", kill_on_drop: false }` [INFO] [stdout] 9bf05d8750dff58e65c6b25e3bdad0c9102973b382ce733a4a54ff4825a0ffef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] 995d4d73170a9f243c84e89f80c029ba371d2b554724b6d4b1471de6520a9116 [INFO] running `Command { std: "docker" "start" "-a" "995d4d73170a9f243c84e89f80c029ba371d2b554724b6d4b1471de6520a9116", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.29 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling unicode-segmentation v1.2.0 [INFO] [stderr] Compiling term_size v0.3.0 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stderr] Compiling atty v0.2.2 [INFO] [stderr] Compiling textwrap v0.7.0 [INFO] [stderr] Compiling nom v3.2.0 [INFO] [stderr] Compiling clap v2.26.0 [INFO] [stderr] Compiling hack-vm-translator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `IResult` [INFO] [stdout] --> src/parser.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use nom::{IResult, alpha, alphanumeric, digit, space}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Add` [INFO] [stdout] --> src/inst.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Add, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Op` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/inst.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, Copy, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Sub` [INFO] [stdout] --> src/inst.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Sub, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `Op` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/inst.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, Copy, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Neg` [INFO] [stdout] --> src/inst.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Neg, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `Op` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/inst.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, Copy, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Eq` [INFO] [stdout] --> src/inst.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Eq, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `Op` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/inst.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, Copy, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Gt` [INFO] [stdout] --> src/inst.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Gt, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `Op` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/inst.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, Copy, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Lt` [INFO] [stdout] --> src/inst.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Lt, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `Op` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/inst.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, Copy, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `And` [INFO] [stdout] --> src/inst.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | And, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `Op` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/inst.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, Copy, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Or` [INFO] [stdout] --> src/inst.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `Op` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/inst.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, Copy, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Not` [INFO] [stdout] --> src/inst.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Not, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `Op` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/inst.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, Copy, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Argument` [INFO] [stdout] --> src/inst.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | Argument, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Segment` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/inst.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Clone, Copy, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Local` [INFO] [stdout] --> src/inst.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | Local, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Segment` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/inst.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Clone, Copy, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `This` [INFO] [stdout] --> src/inst.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | This, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Segment` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/inst.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Clone, Copy, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `That` [INFO] [stdout] --> src/inst.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | That, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Segment` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/inst.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Clone, Copy, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Constant` [INFO] [stdout] --> src/inst.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | Constant, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Segment` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/inst.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Clone, Copy, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Static` [INFO] [stdout] --> src/inst.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | Static, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Segment` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/inst.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Clone, Copy, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Pointer` [INFO] [stdout] --> src/inst.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | Pointer, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Segment` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/inst.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Clone, Copy, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Temp` [INFO] [stdout] --> src/inst.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | Temp, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Segment` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/inst.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Clone, Copy, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Arith` [INFO] [stdout] --> src/inst.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | Arith { op: Op }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Inst` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/inst.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Debug, PartialEq)] [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: variant is never constructed: `Pop` [INFO] [stdout] --> src/inst.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | Pop { segment: Segment, index: u16 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Inst` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/inst.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Debug, PartialEq)] [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: variant is never constructed: `Push` [INFO] [stdout] --> src/inst.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | Push { segment: Segment, index: u16 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Inst` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/inst.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Debug, PartialEq)] [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: variant is never constructed: `DefLabel` [INFO] [stdout] --> src/inst.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | DefLabel { label: Label<'a> }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Inst` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/inst.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Debug, PartialEq)] [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: variant is never constructed: `Goto` [INFO] [stdout] --> src/inst.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | Goto { label: Label<'a> }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Inst` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/inst.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Debug, PartialEq)] [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: variant is never constructed: `IfGoto` [INFO] [stdout] --> src/inst.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | IfGoto { label: Label<'a> }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Inst` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/inst.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Debug, PartialEq)] [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: variant is never constructed: `DefFun` [INFO] [stdout] --> src/inst.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | DefFun { name: FunName<'a>, nvars: u16 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Inst` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/inst.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Debug, PartialEq)] [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: variant is never constructed: `Call` [INFO] [stdout] --> src/inst.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | Call { name: FunName<'a>, nargs: u16 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Inst` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/inst.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Debug, PartialEq)] [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: variant is never constructed: `Return` [INFO] [stdout] --> src/inst.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | Return, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Inst` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/inst.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Debug, PartialEq)] [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: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.81s [INFO] running `Command { std: "docker" "inspect" "995d4d73170a9f243c84e89f80c029ba371d2b554724b6d4b1471de6520a9116", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "995d4d73170a9f243c84e89f80c029ba371d2b554724b6d4b1471de6520a9116", kill_on_drop: false }` [INFO] [stdout] 995d4d73170a9f243c84e89f80c029ba371d2b554724b6d4b1471de6520a9116 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] f8ca803a94957bb4633a05d34f128bf2d7c71c940435868f7291e318ce5a471a [INFO] running `Command { std: "docker" "start" "-a" "f8ca803a94957bb4633a05d34f128bf2d7c71c940435868f7291e318ce5a471a", kill_on_drop: false }` [INFO] [stderr] Compiling hack-vm-translator v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.88s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/hack_vm_translator-561f3475e5409b10) [INFO] running `Command { std: "docker" "inspect" "f8ca803a94957bb4633a05d34f128bf2d7c71c940435868f7291e318ce5a471a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8ca803a94957bb4633a05d34f128bf2d7c71c940435868f7291e318ce5a471a", kill_on_drop: false }` [INFO] [stdout] f8ca803a94957bb4633a05d34f128bf2d7c71c940435868f7291e318ce5a471a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] d0b8876d6184de7b9460812a2395fa7c840d508f97ef09e0abad2ff7cfeb5d5a [INFO] running `Command { std: "docker" "start" "-a" "d0b8876d6184de7b9460812a2395fa7c840d508f97ef09e0abad2ff7cfeb5d5a", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/hack_vm_translator-561f3475e5409b10) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test inst::tests::display_segment ... ok [INFO] [stdout] test inst::tests::display_op ... ok [INFO] [stdout] test inst::tests::display_inst ... ok [INFO] [stdout] test parser::tests::parse_artih ... ok [INFO] [stdout] test parser::tests::parse_fun_op ... ok [INFO] [stdout] test parser::tests::parse_index ... ok [INFO] [stdout] test parser::tests::parse_ident ... ok [INFO] [stdout] test parser::tests::parse_inst ... ok [INFO] [stdout] test parser::tests::parse_label_op ... ok [INFO] [stdout] test parser::tests::parse_segment ... ok [INFO] [stdout] test parser::tests::parse_stack_op ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d0b8876d6184de7b9460812a2395fa7c840d508f97ef09e0abad2ff7cfeb5d5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0b8876d6184de7b9460812a2395fa7c840d508f97ef09e0abad2ff7cfeb5d5a", kill_on_drop: false }` [INFO] [stdout] d0b8876d6184de7b9460812a2395fa7c840d508f97ef09e0abad2ff7cfeb5d5a