[INFO] cloning repository https://github.com/apoloval/simproc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/apoloval/simproc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fapoloval%2Fsimproc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fapoloval%2Fsimproc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9cea797591c4a6f84fe36dfc68286286aa9924a6 [INFO] checking apoloval/simproc against master#db0e836148accac8a22532e3596ac612b63c2d8e for pr-139272 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fapoloval%2Fsimproc" "/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/apoloval/simproc on toolchain db0e836148accac8a22532e3596ac612b63c2d8e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db0e836148accac8a22532e3596ac612b63c2d8e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/apoloval/simproc [INFO] finished tweaking git repo https://github.com/apoloval/simproc [INFO] tweaked toml for git repo https://github.com/apoloval/simproc written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/apoloval/simproc 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" "+db0e836148accac8a22532e3596ac612b63c2d8e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quote v0.5.1 [INFO] [stderr] Downloaded regex-syntax v0.5.3 [INFO] [stderr] Downloaded regex v0.2.10 [INFO] [stderr] Downloaded byteorder v1.2.2 [INFO] [stderr] Downloaded serde_derive_internals v0.23.0 [INFO] [stderr] Downloaded serde_derive v1.0.37 [INFO] [stderr] Downloaded serde v1.0.37 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+db0e836148accac8a22532e3596ac612b63c2d8e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 342d98d2f04d9017410270af9ebe5e8a732253553ec38351085f2aeb2050ae47 [INFO] running `Command { std: "docker" "start" "-a" "342d98d2f04d9017410270af9ebe5e8a732253553ec38351085f2aeb2050ae47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "342d98d2f04d9017410270af9ebe5e8a732253553ec38351085f2aeb2050ae47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "342d98d2f04d9017410270af9ebe5e8a732253553ec38351085f2aeb2050ae47", kill_on_drop: false }` [INFO] [stdout] 342d98d2f04d9017410270af9ebe5e8a732253553ec38351085f2aeb2050ae47 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+db0e836148accac8a22532e3596ac612b63c2d8e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f0f027dfb99d6264d129cbe4cd559edbdc4ff39bb9e3e5bc2844116d1c24e33 [INFO] running `Command { std: "docker" "start" "-a" "0f0f027dfb99d6264d129cbe4cd559edbdc4ff39bb9e3e5bc2844116d1c24e33", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking libc v0.2.40 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Compiling regex v0.2.10 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking serde v1.0.37 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Checking byteorder v1.2.2 [INFO] [stderr] Checking log v0.4.1 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Compiling proc-macro2 v0.3.5 [INFO] [stderr] Checking regex-syntax v0.5.3 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking time v0.1.39 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Compiling quote v0.5.1 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Compiling syn v0.13.1 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking env_logger v0.3.5 [INFO] [stderr] Checking quickcheck v0.2.27 [INFO] [stderr] Compiling serde_derive_internals v0.23.0 [INFO] [stderr] Compiling serde_derive v1.0.37 [INFO] [stderr] Checking docopt v0.8.3 [INFO] [stderr] Checking simproc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/io.rs:17:43 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Io<'a> { devs: HashMap> } [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Io<'a> { devs: HashMap> } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:24:54 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn exec(inst: &RuntimeInst, ctx: &mut ExecCtx) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | pub fn exec(inst: &RuntimeInst, ctx: &mut dyn ExecCtx) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:79:34 [INFO] [stdout] | [INFO] [stdout] 79 | fn exec_add(ctx: &mut ExecCtx, dst: Reg, src: Reg, carry: bool) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 79 | fn exec_add(ctx: &mut dyn ExecCtx, dst: Reg, src: Reg, carry: bool) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:86:35 [INFO] [stdout] | [INFO] [stdout] 86 | fn exec_addi(ctx: &mut ExecCtx, dst: Reg, src: u8) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 86 | fn exec_addi(ctx: &mut dyn ExecCtx, dst: Reg, src: u8) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:91:32 [INFO] [stdout] | [INFO] [stdout] 91 | fn do_add(ctx: &mut ExecCtx, dst: Reg, src: u8, carry: bool) { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 91 | fn do_add(ctx: &mut dyn ExecCtx, dst: Reg, src: u8, carry: bool) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:105:34 [INFO] [stdout] | [INFO] [stdout] 105 | fn exec_sub(ctx: &mut ExecCtx, dst: Reg, src: Reg, carry: bool) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 105 | fn exec_sub(ctx: &mut dyn ExecCtx, dst: Reg, src: Reg, carry: bool) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:112:35 [INFO] [stdout] | [INFO] [stdout] 112 | fn exec_subi(ctx: &mut ExecCtx, dst: Reg, src: u8) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 112 | fn exec_subi(ctx: &mut dyn ExecCtx, dst: Reg, src: u8) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:117:32 [INFO] [stdout] | [INFO] [stdout] 117 | fn do_sub(ctx: &mut ExecCtx, dst: Reg, src: u8, carry: bool) { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 117 | fn do_sub(ctx: &mut dyn ExecCtx, dst: Reg, src: u8, carry: bool) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:132:15 [INFO] [stdout] | [INFO] [stdout] 132 | ctx: &mut ExecCtx, dst: Reg, logic: L) -> Cycle [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 132 | ctx: &mut dyn ExecCtx, dst: Reg, logic: L) -> Cycle [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:148:15 [INFO] [stdout] | [INFO] [stdout] 148 | ctx: &mut ExecCtx, dst: Reg, src: Reg, logic: L) -> Cycle [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 148 | ctx: &mut dyn ExecCtx, dst: Reg, src: Reg, logic: L) -> Cycle [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:165:34 [INFO] [stdout] | [INFO] [stdout] 165 | fn exec_inc(ctx: &mut ExecCtx, dst: Reg, positive: bool) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 165 | fn exec_inc(ctx: &mut dyn ExecCtx, dst: Reg, positive: bool) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:179:35 [INFO] [stdout] | [INFO] [stdout] 179 | fn exec_incw(ctx: &mut ExecCtx, dst: AddrReg, positive: bool) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 179 | fn exec_incw(ctx: &mut dyn ExecCtx, dst: AddrReg, positive: bool) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:194:15 [INFO] [stdout] | [INFO] [stdout] 194 | ctx: &mut ExecCtx, dst: Reg, f: F, g: G) -> Cycle [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 194 | ctx: &mut dyn ExecCtx, dst: Reg, f: F, g: G) -> Cycle [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:209:34 [INFO] [stdout] | [INFO] [stdout] 209 | fn exec_mov(ctx: &mut ExecCtx, dst: Reg, src: Reg) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 209 | fn exec_mov(ctx: &mut dyn ExecCtx, dst: Reg, src: Reg) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:217:33 [INFO] [stdout] | [INFO] [stdout] 217 | fn exec_ld(ctx: &mut ExecCtx, dst: Reg, src: AddrReg) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 217 | fn exec_ld(ctx: &mut dyn ExecCtx, dst: Reg, src: AddrReg) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:225:34 [INFO] [stdout] | [INFO] [stdout] 225 | fn exec_ldd(ctx: &mut ExecCtx, dst: Reg, src: Addr) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 225 | fn exec_ldd(ctx: &mut dyn ExecCtx, dst: Reg, src: Addr) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:231:34 [INFO] [stdout] | [INFO] [stdout] 231 | fn exec_ldi(ctx: &mut ExecCtx, dst: Reg, val: u8) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 231 | fn exec_ldi(ctx: &mut dyn ExecCtx, dst: Reg, val: u8) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:236:34 [INFO] [stdout] | [INFO] [stdout] 236 | fn exec_ldw(ctx: &mut ExecCtx, dst: AddrReg, addr: Addr) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 236 | fn exec_ldw(ctx: &mut dyn ExecCtx, dst: AddrReg, addr: Addr) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:241:33 [INFO] [stdout] | [INFO] [stdout] 241 | fn exec_st(ctx: &mut ExecCtx, dst: AddrReg, src: Reg) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 241 | fn exec_st(ctx: &mut dyn ExecCtx, dst: AddrReg, src: Reg) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:249:34 [INFO] [stdout] | [INFO] [stdout] 249 | fn exec_std(ctx: &mut ExecCtx, dst: Addr, src: Reg) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 249 | fn exec_std(ctx: &mut dyn ExecCtx, dst: Addr, src: Reg) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:255:35 [INFO] [stdout] | [INFO] [stdout] 255 | fn exec_ldsp(ctx: &mut ExecCtx, src: AddrReg) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 255 | fn exec_ldsp(ctx: &mut dyn ExecCtx, src: AddrReg) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:262:35 [INFO] [stdout] | [INFO] [stdout] 262 | fn exec_push(ctx: &mut ExecCtx, src: Reg) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 262 | fn exec_push(ctx: &mut dyn ExecCtx, src: Reg) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:270:34 [INFO] [stdout] | [INFO] [stdout] 270 | fn exec_pop(ctx: &mut ExecCtx, dst: Reg) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 270 | fn exec_pop(ctx: &mut dyn ExecCtx, dst: Reg) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:278:33 [INFO] [stdout] | [INFO] [stdout] 278 | fn exec_in(ctx: &mut ExecCtx, dst: Reg, port: IoPort) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 278 | fn exec_in(ctx: &mut dyn ExecCtx, dst: Reg, port: IoPort) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:285:34 [INFO] [stdout] | [INFO] [stdout] 285 | fn exec_out(ctx: &mut ExecCtx, port: IoPort, src: Reg) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 285 | fn exec_out(ctx: &mut dyn ExecCtx, port: IoPort, src: Reg) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:293:15 [INFO] [stdout] | [INFO] [stdout] 293 | ctx: &mut ExecCtx, offset: RelAddr, f: F, is_call: bool) -> Cycle [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 293 | ctx: &mut dyn ExecCtx, offset: RelAddr, f: F, is_call: bool) -> Cycle [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:308:34 [INFO] [stdout] | [INFO] [stdout] 308 | fn exec_jmp(ctx: &mut ExecCtx, addr: Addr, is_call: bool) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 308 | fn exec_jmp(ctx: &mut dyn ExecCtx, addr: Addr, is_call: bool) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:320:35 [INFO] [stdout] | [INFO] [stdout] 320 | fn exec_ijmp(ctx: &mut ExecCtx, src: AddrReg, is_call: bool) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 320 | fn exec_ijmp(ctx: &mut dyn ExecCtx, src: AddrReg, is_call: bool) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:325:34 [INFO] [stdout] | [INFO] [stdout] 325 | fn exec_ret(ctx: &mut ExecCtx, enable_int: bool) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 325 | fn exec_ret(ctx: &mut dyn ExecCtx, enable_int: bool) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:336:34 [INFO] [stdout] | [INFO] [stdout] 336 | fn exec_nop(ctx: &mut ExecCtx) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 336 | fn exec_nop(ctx: &mut dyn ExecCtx) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:342:38 [INFO] [stdout] | [INFO] [stdout] 342 | fn exec_set_int(ctx: &mut ExecCtx, enabled: bool) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 342 | fn exec_set_int(ctx: &mut dyn ExecCtx, enabled: bool) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mem/bank.rs:25:44 [INFO] [stdout] | [INFO] [stdout] 25 | fn select_page(&self, addr: Addr) -> (&Memory, Addr) { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | fn select_page(&self, addr: Addr) -> (&dyn Memory, Addr) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mem/bank.rs:32:56 [INFO] [stdout] | [INFO] [stdout] 32 | fn select_page_mut(&mut self, addr: Addr) -> (&mut Memory, Addr) { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 | fn select_page_mut(&mut self, addr: Addr) -> (&mut dyn Memory, Addr) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/io.rs:17:43 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Io<'a> { devs: HashMap> } [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Io<'a> { devs: HashMap> } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:24:54 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn exec(inst: &RuntimeInst, ctx: &mut ExecCtx) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | pub fn exec(inst: &RuntimeInst, ctx: &mut dyn ExecCtx) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:79:34 [INFO] [stdout] | [INFO] [stdout] 79 | fn exec_add(ctx: &mut ExecCtx, dst: Reg, src: Reg, carry: bool) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 79 | fn exec_add(ctx: &mut dyn ExecCtx, dst: Reg, src: Reg, carry: bool) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:86:35 [INFO] [stdout] | [INFO] [stdout] 86 | fn exec_addi(ctx: &mut ExecCtx, dst: Reg, src: u8) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 86 | fn exec_addi(ctx: &mut dyn ExecCtx, dst: Reg, src: u8) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:91:32 [INFO] [stdout] | [INFO] [stdout] 91 | fn do_add(ctx: &mut ExecCtx, dst: Reg, src: u8, carry: bool) { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 91 | fn do_add(ctx: &mut dyn ExecCtx, dst: Reg, src: u8, carry: bool) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:105:34 [INFO] [stdout] | [INFO] [stdout] 105 | fn exec_sub(ctx: &mut ExecCtx, dst: Reg, src: Reg, carry: bool) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 105 | fn exec_sub(ctx: &mut dyn ExecCtx, dst: Reg, src: Reg, carry: bool) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:112:35 [INFO] [stdout] | [INFO] [stdout] 112 | fn exec_subi(ctx: &mut ExecCtx, dst: Reg, src: u8) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 112 | fn exec_subi(ctx: &mut dyn ExecCtx, dst: Reg, src: u8) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:117:32 [INFO] [stdout] | [INFO] [stdout] 117 | fn do_sub(ctx: &mut ExecCtx, dst: Reg, src: u8, carry: bool) { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 117 | fn do_sub(ctx: &mut dyn ExecCtx, dst: Reg, src: u8, carry: bool) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:132:15 [INFO] [stdout] | [INFO] [stdout] 132 | ctx: &mut ExecCtx, dst: Reg, logic: L) -> Cycle [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 132 | ctx: &mut dyn ExecCtx, dst: Reg, logic: L) -> Cycle [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:148:15 [INFO] [stdout] | [INFO] [stdout] 148 | ctx: &mut ExecCtx, dst: Reg, src: Reg, logic: L) -> Cycle [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 148 | ctx: &mut dyn ExecCtx, dst: Reg, src: Reg, logic: L) -> Cycle [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:165:34 [INFO] [stdout] | [INFO] [stdout] 165 | fn exec_inc(ctx: &mut ExecCtx, dst: Reg, positive: bool) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 165 | fn exec_inc(ctx: &mut dyn ExecCtx, dst: Reg, positive: bool) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:179:35 [INFO] [stdout] | [INFO] [stdout] 179 | fn exec_incw(ctx: &mut ExecCtx, dst: AddrReg, positive: bool) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 179 | fn exec_incw(ctx: &mut dyn ExecCtx, dst: AddrReg, positive: bool) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:194:15 [INFO] [stdout] | [INFO] [stdout] 194 | ctx: &mut ExecCtx, dst: Reg, f: F, g: G) -> Cycle [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 194 | ctx: &mut dyn ExecCtx, dst: Reg, f: F, g: G) -> Cycle [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:209:34 [INFO] [stdout] | [INFO] [stdout] 209 | fn exec_mov(ctx: &mut ExecCtx, dst: Reg, src: Reg) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 209 | fn exec_mov(ctx: &mut dyn ExecCtx, dst: Reg, src: Reg) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:217:33 [INFO] [stdout] | [INFO] [stdout] 217 | fn exec_ld(ctx: &mut ExecCtx, dst: Reg, src: AddrReg) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 217 | fn exec_ld(ctx: &mut dyn ExecCtx, dst: Reg, src: AddrReg) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:225:34 [INFO] [stdout] | [INFO] [stdout] 225 | fn exec_ldd(ctx: &mut ExecCtx, dst: Reg, src: Addr) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 225 | fn exec_ldd(ctx: &mut dyn ExecCtx, dst: Reg, src: Addr) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:231:34 [INFO] [stdout] | [INFO] [stdout] 231 | fn exec_ldi(ctx: &mut ExecCtx, dst: Reg, val: u8) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 231 | fn exec_ldi(ctx: &mut dyn ExecCtx, dst: Reg, val: u8) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:236:34 [INFO] [stdout] | [INFO] [stdout] 236 | fn exec_ldw(ctx: &mut ExecCtx, dst: AddrReg, addr: Addr) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 236 | fn exec_ldw(ctx: &mut dyn ExecCtx, dst: AddrReg, addr: Addr) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:241:33 [INFO] [stdout] | [INFO] [stdout] 241 | fn exec_st(ctx: &mut ExecCtx, dst: AddrReg, src: Reg) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 241 | fn exec_st(ctx: &mut dyn ExecCtx, dst: AddrReg, src: Reg) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:249:34 [INFO] [stdout] | [INFO] [stdout] 249 | fn exec_std(ctx: &mut ExecCtx, dst: Addr, src: Reg) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 249 | fn exec_std(ctx: &mut dyn ExecCtx, dst: Addr, src: Reg) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:255:35 [INFO] [stdout] | [INFO] [stdout] 255 | fn exec_ldsp(ctx: &mut ExecCtx, src: AddrReg) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 255 | fn exec_ldsp(ctx: &mut dyn ExecCtx, src: AddrReg) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:262:35 [INFO] [stdout] | [INFO] [stdout] 262 | fn exec_push(ctx: &mut ExecCtx, src: Reg) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 262 | fn exec_push(ctx: &mut dyn ExecCtx, src: Reg) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:270:34 [INFO] [stdout] | [INFO] [stdout] 270 | fn exec_pop(ctx: &mut ExecCtx, dst: Reg) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 270 | fn exec_pop(ctx: &mut dyn ExecCtx, dst: Reg) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:278:33 [INFO] [stdout] | [INFO] [stdout] 278 | fn exec_in(ctx: &mut ExecCtx, dst: Reg, port: IoPort) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 278 | fn exec_in(ctx: &mut dyn ExecCtx, dst: Reg, port: IoPort) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:285:34 [INFO] [stdout] | [INFO] [stdout] 285 | fn exec_out(ctx: &mut ExecCtx, port: IoPort, src: Reg) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 285 | fn exec_out(ctx: &mut dyn ExecCtx, port: IoPort, src: Reg) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:293:15 [INFO] [stdout] | [INFO] [stdout] 293 | ctx: &mut ExecCtx, offset: RelAddr, f: F, is_call: bool) -> Cycle [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 293 | ctx: &mut dyn ExecCtx, offset: RelAddr, f: F, is_call: bool) -> Cycle [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:308:34 [INFO] [stdout] | [INFO] [stdout] 308 | fn exec_jmp(ctx: &mut ExecCtx, addr: Addr, is_call: bool) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 308 | fn exec_jmp(ctx: &mut dyn ExecCtx, addr: Addr, is_call: bool) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:320:35 [INFO] [stdout] | [INFO] [stdout] 320 | fn exec_ijmp(ctx: &mut ExecCtx, src: AddrReg, is_call: bool) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 320 | fn exec_ijmp(ctx: &mut dyn ExecCtx, src: AddrReg, is_call: bool) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:325:34 [INFO] [stdout] | [INFO] [stdout] 325 | fn exec_ret(ctx: &mut ExecCtx, enable_int: bool) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 325 | fn exec_ret(ctx: &mut dyn ExecCtx, enable_int: bool) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:336:34 [INFO] [stdout] | [INFO] [stdout] 336 | fn exec_nop(ctx: &mut ExecCtx) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 336 | fn exec_nop(ctx: &mut dyn ExecCtx) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/exec.rs:342:38 [INFO] [stdout] | [INFO] [stdout] 342 | fn exec_set_int(ctx: &mut ExecCtx, enabled: bool) -> Cycle { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 342 | fn exec_set_int(ctx: &mut dyn ExecCtx, enabled: bool) -> Cycle { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mem/bank.rs:25:44 [INFO] [stdout] | [INFO] [stdout] 25 | fn select_page(&self, addr: Addr) -> (&Memory, Addr) { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | fn select_page(&self, addr: Addr) -> (&dyn Memory, Addr) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mem/bank.rs:32:56 [INFO] [stdout] | [INFO] [stdout] 32 | fn select_page_mut(&mut self, addr: Addr) -> (&mut Memory, Addr) { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 | fn select_page_mut(&mut self, addr: Addr) -> (&mut dyn Memory, Addr) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spm/main.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 60 | let rom = try!(File::open(romfile)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spm/main.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 60 | let rom = try!(File::open(romfile)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bin/spm/args.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Deserialize)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Args` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Args` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/bin/spasm/asm/lexer.rs:245:17 [INFO] [stdout] | [INFO] [stdout] 245 | '1' ... '9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/bin/spasm/asm/lexer.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 250 | 'a' ... 'z' | 'A' ... 'Z' | '_' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/bin/spasm/asm/lexer.rs:250:31 [INFO] [stdout] | [INFO] [stdout] 250 | 'a' ... 'z' | 'A' ... 'Z' | '_' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/parser.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | let head = try!(self.next_expr_from(tk)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/parser.rs:140:42 [INFO] [stdout] | [INFO] [stdout] 140 | Some(Token::Comma) => { list.push(try!(self.next_expr())); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::symbol::*` [INFO] [stdout] --> src/bin/spasm/asm/mod.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | mod symbol; pub use self::symbol::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/data.rs:73:32 [INFO] [stdout] | [INFO] [stdout] 73 | let byte = try!(to_u8(n).ok_or(DataAssemblyError::Overflow { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/data.rs:86:36 [INFO] [stdout] | [INFO] [stdout] 86 | Expr::Number(n) => try!(full_assemble_number(&self.size, n, &mut result)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/data.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | try!(full_assemble_number(&self.size, n, &mut result)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/data.rs:88:30 [INFO] [stdout] | [INFO] [stdout] 88 | let n = *try!(symbols.get(id).ok_or(DataAssemblyError::Undefined(id.clone()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/data.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 93 | try!(full_assemble_number(&self.size, c as i64, &mut result)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/assembler.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | try!(inst.encode(output)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/assembler.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | try!(output.write(data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/assembler.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | try!(Self::dump_text_line(base_addr, &[], line, output)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/assembler.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | try!(inst.encode(&mut buff)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/assembler.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | try!(Self::dump_text_line(base_addr, &buff, line, output)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/assembler.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | try!(Self::dump_text_line(base_addr, data, line, output)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/assembler.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | try!(write!(output, "0x{:04x} : ", addr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/assembler.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | try!(write!(output, "{:02x} ", b)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/assembler.rs:113:34 [INFO] [stdout] | [INFO] [stdout] 113 | for _ in nbytes..4 { try!(write!(output, " ")); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/assembler.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | try!(write!(output, "\n ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/assembler.rs:116:29 [INFO] [stdout] | [INFO] [stdout] 116 | for _ in 0..4 { try!(write!(output, " ")); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::full::*` [INFO] [stdout] --> src/bin/spasm/asm/mod.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | mod full; pub use self::full::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | Ok(Inst::Add(try!(self.expr_asm.to_reg(r1)), try!(self.expr_asm.to_reg(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:33:62 [INFO] [stdout] | [INFO] [stdout] 33 | Ok(Inst::Add(try!(self.expr_asm.to_reg(r1)), try!(self.expr_asm.to_reg(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 35 | Ok(Inst::Adc(try!(self.expr_asm.to_reg(r1)), try!(self.expr_asm.to_reg(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:35:62 [INFO] [stdout] | [INFO] [stdout] 35 | Ok(Inst::Adc(try!(self.expr_asm.to_reg(r1)), try!(self.expr_asm.to_reg(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | Ok(Inst::Addi(try!(self.expr_asm.to_reg(r)), try!(self.expr_asm.to_immediate(l)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:37:62 [INFO] [stdout] | [INFO] [stdout] 37 | Ok(Inst::Addi(try!(self.expr_asm.to_reg(r)), try!(self.expr_asm.to_immediate(l)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | Ok(Inst::Sub(try!(self.expr_asm.to_reg(r1)), try!(self.expr_asm.to_reg(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:39:62 [INFO] [stdout] | [INFO] [stdout] 39 | Ok(Inst::Sub(try!(self.expr_asm.to_reg(r1)), try!(self.expr_asm.to_reg(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:41:30 [INFO] [stdout] | [INFO] [stdout] 41 | Ok(Inst::Sbc(try!(self.expr_asm.to_reg(r1)), try!(self.expr_asm.to_reg(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:41:62 [INFO] [stdout] | [INFO] [stdout] 41 | Ok(Inst::Sbc(try!(self.expr_asm.to_reg(r1)), try!(self.expr_asm.to_reg(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | Ok(Inst::Subi(try!(self.expr_asm.to_reg(r)), try!(self.expr_asm.to_immediate(l)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:43:62 [INFO] [stdout] | [INFO] [stdout] 43 | Ok(Inst::Subi(try!(self.expr_asm.to_reg(r)), try!(self.expr_asm.to_immediate(l)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:45:30 [INFO] [stdout] | [INFO] [stdout] 45 | Ok(Inst::And(try!(self.expr_asm.to_reg(r1)), try!(self.expr_asm.to_reg(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:45:62 [INFO] [stdout] | [INFO] [stdout] 45 | Ok(Inst::And(try!(self.expr_asm.to_reg(r1)), try!(self.expr_asm.to_reg(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 47 | Ok(Inst::Or(try!(self.expr_asm.to_reg(r1)), try!(self.expr_asm.to_reg(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:47:61 [INFO] [stdout] | [INFO] [stdout] 47 | Ok(Inst::Or(try!(self.expr_asm.to_reg(r1)), try!(self.expr_asm.to_reg(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:49:30 [INFO] [stdout] | [INFO] [stdout] 49 | Ok(Inst::Xor(try!(self.expr_asm.to_reg(r1)), try!(self.expr_asm.to_reg(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:49:62 [INFO] [stdout] | [INFO] [stdout] 49 | Ok(Inst::Xor(try!(self.expr_asm.to_reg(r1)), try!(self.expr_asm.to_reg(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | Ok(Inst::Lsl(try!(self.expr_asm.to_reg(r1)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | Ok(Inst::Lsr(try!(self.expr_asm.to_reg(r1)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:55:30 [INFO] [stdout] | [INFO] [stdout] 55 | Ok(Inst::Asr(try!(self.expr_asm.to_reg(r1)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:57:30 [INFO] [stdout] | [INFO] [stdout] 57 | Ok(Inst::Neg(try!(self.expr_asm.to_reg(r)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:59:30 [INFO] [stdout] | [INFO] [stdout] 59 | Ok(Inst::Com(try!(self.expr_asm.to_reg(r)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:61:30 [INFO] [stdout] | [INFO] [stdout] 61 | Ok(Inst::Inc(try!(self.expr_asm.to_reg(r)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:63:31 [INFO] [stdout] | [INFO] [stdout] 63 | Ok(Inst::Incw(try!(self.expr_asm.to_areg(r)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 65 | Ok(Inst::Dec(try!(self.expr_asm.to_reg(r)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:67:31 [INFO] [stdout] | [INFO] [stdout] 67 | Ok(Inst::Decw(try!(self.expr_asm.to_areg(r)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | Ok(Inst::Mov(try!(self.expr_asm.to_reg(r1)), try!(self.expr_asm.to_reg(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:70:62 [INFO] [stdout] | [INFO] [stdout] 70 | Ok(Inst::Mov(try!(self.expr_asm.to_reg(r1)), try!(self.expr_asm.to_reg(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:72:29 [INFO] [stdout] | [INFO] [stdout] 72 | Ok(Inst::Ld(try!(self.expr_asm.to_reg(r1)), try!(self.expr_asm.to_areg(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:72:61 [INFO] [stdout] | [INFO] [stdout] 72 | Ok(Inst::Ld(try!(self.expr_asm.to_reg(r1)), try!(self.expr_asm.to_areg(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | Ok(Inst::St(try!(self.expr_asm.to_areg(r1)), try!(self.expr_asm.to_reg(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:74:62 [INFO] [stdout] | [INFO] [stdout] 74 | Ok(Inst::St(try!(self.expr_asm.to_areg(r1)), try!(self.expr_asm.to_reg(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:76:30 [INFO] [stdout] | [INFO] [stdout] 76 | Ok(Inst::Ldd(try!(self.expr_asm.to_reg(r1)), try!(self.expr_asm.to_addr(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:76:62 [INFO] [stdout] | [INFO] [stdout] 76 | Ok(Inst::Ldd(try!(self.expr_asm.to_reg(r1)), try!(self.expr_asm.to_addr(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 78 | Ok(Inst::Ldw(try!(self.expr_asm.to_areg(r1)), try!(self.expr_asm.to_addr(addr)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:78:63 [INFO] [stdout] | [INFO] [stdout] 78 | Ok(Inst::Ldw(try!(self.expr_asm.to_areg(r1)), try!(self.expr_asm.to_addr(addr)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:80:30 [INFO] [stdout] | [INFO] [stdout] 80 | Ok(Inst::Std(try!(self.expr_asm.to_addr(r1)), try!(self.expr_asm.to_reg(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:80:63 [INFO] [stdout] | [INFO] [stdout] 80 | Ok(Inst::Std(try!(self.expr_asm.to_addr(r1)), try!(self.expr_asm.to_reg(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 82 | Ok(Inst::Ldi(try!(self.expr_asm.to_reg(r)), try!(self.expr_asm.to_immediate(l)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:82:61 [INFO] [stdout] | [INFO] [stdout] 82 | Ok(Inst::Ldi(try!(self.expr_asm.to_reg(r)), try!(self.expr_asm.to_immediate(l)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:84:31 [INFO] [stdout] | [INFO] [stdout] 84 | Ok(Inst::Ldsp(try!(self.expr_asm.to_areg(r)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:86:31 [INFO] [stdout] | [INFO] [stdout] 86 | Ok(Inst::Push(try!(self.expr_asm.to_reg(r)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:88:30 [INFO] [stdout] | [INFO] [stdout] 88 | Ok(Inst::Pop(try!(self.expr_asm.to_reg(r)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | Ok(Inst::In(try!(self.expr_asm.to_reg(r)), try!(self.expr_asm.to_ioport(p)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:90:60 [INFO] [stdout] | [INFO] [stdout] 90 | Ok(Inst::In(try!(self.expr_asm.to_reg(r)), try!(self.expr_asm.to_ioport(p)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | Ok(Inst::Out(try!(self.expr_asm.to_ioport(p)), try!(self.expr_asm.to_reg(r)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:92:64 [INFO] [stdout] | [INFO] [stdout] 92 | Ok(Inst::Out(try!(self.expr_asm.to_ioport(p)), try!(self.expr_asm.to_reg(r)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:95:30 [INFO] [stdout] | [INFO] [stdout] 95 | Ok(Inst::Jnz(try!(self.expr_asm.to_raddr(a, base)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:97:29 [INFO] [stdout] | [INFO] [stdout] 97 | Ok(Inst::Jz(try!(self.expr_asm.to_raddr(a, base)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:99:29 [INFO] [stdout] | [INFO] [stdout] 99 | Ok(Inst::Jp(try!(self.expr_asm.to_raddr(a, base)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:101:29 [INFO] [stdout] | [INFO] [stdout] 101 | Ok(Inst::Jn(try!(self.expr_asm.to_raddr(a, base)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:103:30 [INFO] [stdout] | [INFO] [stdout] 103 | Ok(Inst::Jcc(try!(self.expr_asm.to_raddr(a, base)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:105:30 [INFO] [stdout] | [INFO] [stdout] 105 | Ok(Inst::Jcs(try!(self.expr_asm.to_raddr(a, base)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:107:30 [INFO] [stdout] | [INFO] [stdout] 107 | Ok(Inst::Jvc(try!(self.expr_asm.to_raddr(a, base)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:109:30 [INFO] [stdout] | [INFO] [stdout] 109 | Ok(Inst::Jvs(try!(self.expr_asm.to_raddr(a, base)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:111:30 [INFO] [stdout] | [INFO] [stdout] 111 | Ok(Inst::Jmp(try!(self.expr_asm.to_addr(a)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | Ok(Inst::Rjmp(try!(self.expr_asm.to_raddr(a, base)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:115:31 [INFO] [stdout] | [INFO] [stdout] 115 | Ok(Inst::Ijmp(try!(self.expr_asm.to_areg(r)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:117:31 [INFO] [stdout] | [INFO] [stdout] 117 | Ok(Inst::Call(try!(self.expr_asm.to_addr(a)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:119:32 [INFO] [stdout] | [INFO] [stdout] 119 | Ok(Inst::Rcall(try!(self.expr_asm.to_raddr(a, base)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:121:32 [INFO] [stdout] | [INFO] [stdout] 121 | Ok(Inst::Icall(try!(self.expr_asm.to_areg(r)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bin/spm/args.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Deserialize)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Args` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Args` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/bin/spasm/asm/lexer.rs:245:17 [INFO] [stdout] | [INFO] [stdout] 245 | '1' ... '9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/bin/spasm/asm/lexer.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 250 | 'a' ... 'z' | 'A' ... 'Z' | '_' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/bin/spasm/asm/lexer.rs:250:31 [INFO] [stdout] | [INFO] [stdout] 250 | 'a' ... 'z' | 'A' ... 'Z' | '_' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/parser.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | let head = try!(self.next_expr_from(tk)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/parser.rs:140:42 [INFO] [stdout] | [INFO] [stdout] 140 | Some(Token::Comma) => { list.push(try!(self.next_expr())); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::symbol::*` [INFO] [stdout] --> src/bin/spasm/asm/mod.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | mod symbol; pub use self::symbol::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/data.rs:73:32 [INFO] [stdout] | [INFO] [stdout] 73 | let byte = try!(to_u8(n).ok_or(DataAssemblyError::Overflow { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/data.rs:86:36 [INFO] [stdout] | [INFO] [stdout] 86 | Expr::Number(n) => try!(full_assemble_number(&self.size, n, &mut result)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/data.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | try!(full_assemble_number(&self.size, n, &mut result)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/data.rs:88:30 [INFO] [stdout] | [INFO] [stdout] 88 | let n = *try!(symbols.get(id).ok_or(DataAssemblyError::Undefined(id.clone()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/data.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 93 | try!(full_assemble_number(&self.size, c as i64, &mut result)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/assembler.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | try!(inst.encode(output)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/assembler.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | try!(output.write(data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/assembler.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | try!(Self::dump_text_line(base_addr, &[], line, output)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/assembler.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | try!(inst.encode(&mut buff)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/assembler.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | try!(Self::dump_text_line(base_addr, &buff, line, output)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/assembler.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | try!(Self::dump_text_line(base_addr, data, line, output)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/assembler.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | try!(write!(output, "0x{:04x} : ", addr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/assembler.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | try!(write!(output, "{:02x} ", b)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/assembler.rs:113:34 [INFO] [stdout] | [INFO] [stdout] 113 | for _ in nbytes..4 { try!(write!(output, " ")); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/assembler.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | try!(write!(output, "\n ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/assembler.rs:116:29 [INFO] [stdout] | [INFO] [stdout] 116 | for _ in 0..4 { try!(write!(output, " ")); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::full::*` [INFO] [stdout] --> src/bin/spasm/asm/mod.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | mod full; pub use self::full::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | Ok(Inst::Add(try!(self.expr_asm.to_reg(r1)), try!(self.expr_asm.to_reg(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:33:62 [INFO] [stdout] | [INFO] [stdout] 33 | Ok(Inst::Add(try!(self.expr_asm.to_reg(r1)), try!(self.expr_asm.to_reg(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 35 | Ok(Inst::Adc(try!(self.expr_asm.to_reg(r1)), try!(self.expr_asm.to_reg(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:35:62 [INFO] [stdout] | [INFO] [stdout] 35 | Ok(Inst::Adc(try!(self.expr_asm.to_reg(r1)), try!(self.expr_asm.to_reg(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | Ok(Inst::Addi(try!(self.expr_asm.to_reg(r)), try!(self.expr_asm.to_immediate(l)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:37:62 [INFO] [stdout] | [INFO] [stdout] 37 | Ok(Inst::Addi(try!(self.expr_asm.to_reg(r)), try!(self.expr_asm.to_immediate(l)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | Ok(Inst::Sub(try!(self.expr_asm.to_reg(r1)), try!(self.expr_asm.to_reg(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:39:62 [INFO] [stdout] | [INFO] [stdout] 39 | Ok(Inst::Sub(try!(self.expr_asm.to_reg(r1)), try!(self.expr_asm.to_reg(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:41:30 [INFO] [stdout] | [INFO] [stdout] 41 | Ok(Inst::Sbc(try!(self.expr_asm.to_reg(r1)), try!(self.expr_asm.to_reg(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:41:62 [INFO] [stdout] | [INFO] [stdout] 41 | Ok(Inst::Sbc(try!(self.expr_asm.to_reg(r1)), try!(self.expr_asm.to_reg(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | Ok(Inst::Subi(try!(self.expr_asm.to_reg(r)), try!(self.expr_asm.to_immediate(l)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:43:62 [INFO] [stdout] | [INFO] [stdout] 43 | Ok(Inst::Subi(try!(self.expr_asm.to_reg(r)), try!(self.expr_asm.to_immediate(l)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:45:30 [INFO] [stdout] | [INFO] [stdout] 45 | Ok(Inst::And(try!(self.expr_asm.to_reg(r1)), try!(self.expr_asm.to_reg(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:45:62 [INFO] [stdout] | [INFO] [stdout] 45 | Ok(Inst::And(try!(self.expr_asm.to_reg(r1)), try!(self.expr_asm.to_reg(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 47 | Ok(Inst::Or(try!(self.expr_asm.to_reg(r1)), try!(self.expr_asm.to_reg(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:47:61 [INFO] [stdout] | [INFO] [stdout] 47 | Ok(Inst::Or(try!(self.expr_asm.to_reg(r1)), try!(self.expr_asm.to_reg(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:49:30 [INFO] [stdout] | [INFO] [stdout] 49 | Ok(Inst::Xor(try!(self.expr_asm.to_reg(r1)), try!(self.expr_asm.to_reg(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:49:62 [INFO] [stdout] | [INFO] [stdout] 49 | Ok(Inst::Xor(try!(self.expr_asm.to_reg(r1)), try!(self.expr_asm.to_reg(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | Ok(Inst::Lsl(try!(self.expr_asm.to_reg(r1)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | Ok(Inst::Lsr(try!(self.expr_asm.to_reg(r1)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:55:30 [INFO] [stdout] | [INFO] [stdout] 55 | Ok(Inst::Asr(try!(self.expr_asm.to_reg(r1)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:57:30 [INFO] [stdout] | [INFO] [stdout] 57 | Ok(Inst::Neg(try!(self.expr_asm.to_reg(r)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:59:30 [INFO] [stdout] | [INFO] [stdout] 59 | Ok(Inst::Com(try!(self.expr_asm.to_reg(r)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:61:30 [INFO] [stdout] | [INFO] [stdout] 61 | Ok(Inst::Inc(try!(self.expr_asm.to_reg(r)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:63:31 [INFO] [stdout] | [INFO] [stdout] 63 | Ok(Inst::Incw(try!(self.expr_asm.to_areg(r)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 65 | Ok(Inst::Dec(try!(self.expr_asm.to_reg(r)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:67:31 [INFO] [stdout] | [INFO] [stdout] 67 | Ok(Inst::Decw(try!(self.expr_asm.to_areg(r)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | Ok(Inst::Mov(try!(self.expr_asm.to_reg(r1)), try!(self.expr_asm.to_reg(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:70:62 [INFO] [stdout] | [INFO] [stdout] 70 | Ok(Inst::Mov(try!(self.expr_asm.to_reg(r1)), try!(self.expr_asm.to_reg(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:72:29 [INFO] [stdout] | [INFO] [stdout] 72 | Ok(Inst::Ld(try!(self.expr_asm.to_reg(r1)), try!(self.expr_asm.to_areg(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:72:61 [INFO] [stdout] | [INFO] [stdout] 72 | Ok(Inst::Ld(try!(self.expr_asm.to_reg(r1)), try!(self.expr_asm.to_areg(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | Ok(Inst::St(try!(self.expr_asm.to_areg(r1)), try!(self.expr_asm.to_reg(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:74:62 [INFO] [stdout] | [INFO] [stdout] 74 | Ok(Inst::St(try!(self.expr_asm.to_areg(r1)), try!(self.expr_asm.to_reg(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:76:30 [INFO] [stdout] | [INFO] [stdout] 76 | Ok(Inst::Ldd(try!(self.expr_asm.to_reg(r1)), try!(self.expr_asm.to_addr(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:76:62 [INFO] [stdout] | [INFO] [stdout] 76 | Ok(Inst::Ldd(try!(self.expr_asm.to_reg(r1)), try!(self.expr_asm.to_addr(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 78 | Ok(Inst::Ldw(try!(self.expr_asm.to_areg(r1)), try!(self.expr_asm.to_addr(addr)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:78:63 [INFO] [stdout] | [INFO] [stdout] 78 | Ok(Inst::Ldw(try!(self.expr_asm.to_areg(r1)), try!(self.expr_asm.to_addr(addr)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:80:30 [INFO] [stdout] | [INFO] [stdout] 80 | Ok(Inst::Std(try!(self.expr_asm.to_addr(r1)), try!(self.expr_asm.to_reg(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:80:63 [INFO] [stdout] | [INFO] [stdout] 80 | Ok(Inst::Std(try!(self.expr_asm.to_addr(r1)), try!(self.expr_asm.to_reg(r2)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 82 | Ok(Inst::Ldi(try!(self.expr_asm.to_reg(r)), try!(self.expr_asm.to_immediate(l)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:82:61 [INFO] [stdout] | [INFO] [stdout] 82 | Ok(Inst::Ldi(try!(self.expr_asm.to_reg(r)), try!(self.expr_asm.to_immediate(l)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:84:31 [INFO] [stdout] | [INFO] [stdout] 84 | Ok(Inst::Ldsp(try!(self.expr_asm.to_areg(r)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:86:31 [INFO] [stdout] | [INFO] [stdout] 86 | Ok(Inst::Push(try!(self.expr_asm.to_reg(r)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:88:30 [INFO] [stdout] | [INFO] [stdout] 88 | Ok(Inst::Pop(try!(self.expr_asm.to_reg(r)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | Ok(Inst::In(try!(self.expr_asm.to_reg(r)), try!(self.expr_asm.to_ioport(p)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:90:60 [INFO] [stdout] | [INFO] [stdout] 90 | Ok(Inst::In(try!(self.expr_asm.to_reg(r)), try!(self.expr_asm.to_ioport(p)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | Ok(Inst::Out(try!(self.expr_asm.to_ioport(p)), try!(self.expr_asm.to_reg(r)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:92:64 [INFO] [stdout] | [INFO] [stdout] 92 | Ok(Inst::Out(try!(self.expr_asm.to_ioport(p)), try!(self.expr_asm.to_reg(r)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:95:30 [INFO] [stdout] | [INFO] [stdout] 95 | Ok(Inst::Jnz(try!(self.expr_asm.to_raddr(a, base)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:97:29 [INFO] [stdout] | [INFO] [stdout] 97 | Ok(Inst::Jz(try!(self.expr_asm.to_raddr(a, base)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:99:29 [INFO] [stdout] | [INFO] [stdout] 99 | Ok(Inst::Jp(try!(self.expr_asm.to_raddr(a, base)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:101:29 [INFO] [stdout] | [INFO] [stdout] 101 | Ok(Inst::Jn(try!(self.expr_asm.to_raddr(a, base)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:103:30 [INFO] [stdout] | [INFO] [stdout] 103 | Ok(Inst::Jcc(try!(self.expr_asm.to_raddr(a, base)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:105:30 [INFO] [stdout] | [INFO] [stdout] 105 | Ok(Inst::Jcs(try!(self.expr_asm.to_raddr(a, base)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:107:30 [INFO] [stdout] | [INFO] [stdout] 107 | Ok(Inst::Jvc(try!(self.expr_asm.to_raddr(a, base)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:109:30 [INFO] [stdout] | [INFO] [stdout] 109 | Ok(Inst::Jvs(try!(self.expr_asm.to_raddr(a, base)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:111:30 [INFO] [stdout] | [INFO] [stdout] 111 | Ok(Inst::Jmp(try!(self.expr_asm.to_addr(a)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | Ok(Inst::Rjmp(try!(self.expr_asm.to_raddr(a, base)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:115:31 [INFO] [stdout] | [INFO] [stdout] 115 | Ok(Inst::Ijmp(try!(self.expr_asm.to_areg(r)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:117:31 [INFO] [stdout] | [INFO] [stdout] 117 | Ok(Inst::Call(try!(self.expr_asm.to_addr(a)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:119:32 [INFO] [stdout] | [INFO] [stdout] 119 | Ok(Inst::Rcall(try!(self.expr_asm.to_raddr(a, base)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/spasm/asm/inst/full.rs:121:32 [INFO] [stdout] | [INFO] [stdout] 121 | Ok(Inst::Icall(try!(self.expr_asm.to_areg(r)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bin/spasm/args.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Deserialize)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Args` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Args` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bin/spasm/args.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Deserialize)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Args` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Args` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.00s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.13.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "0f0f027dfb99d6264d129cbe4cd559edbdc4ff39bb9e3e5bc2844116d1c24e33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f0f027dfb99d6264d129cbe4cd559edbdc4ff39bb9e3e5bc2844116d1c24e33", kill_on_drop: false }` [INFO] [stdout] 0f0f027dfb99d6264d129cbe4cd559edbdc4ff39bb9e3e5bc2844116d1c24e33