[INFO] cloning repository https://github.com/danijoo/jane [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/danijoo/jane" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanijoo%2Fjane", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanijoo%2Fjane'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e054472e65273748c8b48d15ef44502451c24f9b [INFO] checking danijoo/jane/e054472e65273748c8b48d15ef44502451c24f9b against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanijoo%2Fjane" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/danijoo/jane on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/danijoo/jane [INFO] finished tweaking git repo https://github.com/danijoo/jane [INFO] tweaked toml for git repo https://github.com/danijoo/jane written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/danijoo/jane 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3c48dae8c112f6227d5ac92cdb5cd60f37174db0108c6cafadcd05a843af60f [INFO] running `Command { std: "docker" "start" "-a" "c3c48dae8c112f6227d5ac92cdb5cd60f37174db0108c6cafadcd05a843af60f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3c48dae8c112f6227d5ac92cdb5cd60f37174db0108c6cafadcd05a843af60f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3c48dae8c112f6227d5ac92cdb5cd60f37174db0108c6cafadcd05a843af60f", kill_on_drop: false }` [INFO] [stdout] c3c48dae8c112f6227d5ac92cdb5cd60f37174db0108c6cafadcd05a843af60f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f5e3c7f7b96b871dc22cc9f372f31f8f0e6522e6ff5ea1c5c7d1a6189c2218e [INFO] running `Command { std: "docker" "start" "-a" "1f5e3c7f7b96b871dc22cc9f372f31f8f0e6522e6ff5ea1c5c7d1a6189c2218e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cc v1.0.48 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking rustc-hash v1.0.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Checking piston-float v1.0.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Checking rusttype v0.8.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking piston-viewport v1.0.0 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking piston-graphics_api_version v0.2.0 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Checking draw_state v0.8.0 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking downcast-rs v1.1.1 [INFO] [stderr] Checking same-file v1.0.5 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking gfx_core v0.9.2 [INFO] [stderr] Checking walkdir v2.2.9 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking jpeg-decoder v0.1.18 [INFO] [stderr] Checking png v0.15.2 [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking lock_api v0.3.2 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking piston-texture v0.8.0 [INFO] [stderr] Checking image v0.22.3 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking gfx v0.18.2 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Compiling gfx_gl v0.6.0 [INFO] [stderr] Checking shader_version v0.6.0 [INFO] [stderr] Checking vecmath v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking interpolation v0.2.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking read_color v1.0.0 [INFO] [stderr] Compiling siphasher v0.3.1 [INFO] [stderr] Checking piston2d-graphics v0.35.0 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Checking xi-unicode v0.2.0 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Checking piston-gfx_texture v0.40.0 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Checking glyph_brush_layout v0.1.8 [INFO] [stderr] Checking backtrace v0.3.40 [INFO] [stderr] Checking twox-hash v1.5.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking colored v1.9.0 [INFO] [stderr] Checking glyph_brush v0.6.1 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Checking piston2d-gfx_graphics v0.66.0 [INFO] [stderr] Checking gfx_glyph v0.16.0 [INFO] [stderr] Checking simple_logger v1.3.0 [INFO] [stderr] Checking piston2d-opengl_graphics v0.70.0 [INFO] [stderr] Checking fps_counter v1.0.0 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Checking gfx_device_gl v0.16.2 [INFO] [stderr] Checking pistoncore-input v0.28.0 [INFO] [stderr] Checking pistoncore-window v0.44.0 [INFO] [stderr] Checking pistoncore-event_loop v0.49.0 [INFO] [stderr] Checking piston v0.49.0 [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [INFO] [stderr] Checking winit v0.19.5 [INFO] [stderr] Checking glutin v0.21.2 [INFO] [stderr] Checking pistoncore-glutin_window v0.63.0 [INFO] [stderr] Checking piston_window v0.105.0 [INFO] [stderr] Checking jane v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `failure::err_msg` [INFO] [stdout] --> src/nes/cpu/instructions.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use failure::err_msg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/nes/cpu/instructions.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use failure::{Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Display` [INFO] [stdout] --> src/nes/cpu/instructions.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt::{Debug,Display}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/nes/cpu.rs:408:13 [INFO] [stdout] | [INFO] [stdout] 408 | (((hi as Word) << 8) | lo as Word) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 408 - (((hi as Word) << 8) | lo as Word) [INFO] [stdout] 408 + ((hi as Word) << 8) | lo as Word [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/nes/disasm.rs:21:72 [INFO] [stdout] | [INFO] [stdout] 21 | let mut mem_iter = ((start as usize) .. (stop as usize)+1).map({|a| a as Addr}); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 21 - let mut mem_iter = ((start as usize) .. (stop as usize)+1).map({|a| a as Addr}); [INFO] [stdout] 21 + let mut mem_iter = ((start as usize) .. (stop as usize)+1).map(|a| a as Addr); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `failure::err_msg` [INFO] [stdout] --> src/nes/cpu/instructions.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use failure::err_msg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/nes/cpu/instructions.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use failure::{Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Display` [INFO] [stdout] --> src/nes/cpu/instructions.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt::{Debug,Display}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/nes/cpu.rs:408:13 [INFO] [stdout] | [INFO] [stdout] 408 | (((hi as Word) << 8) | lo as Word) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 408 - (((hi as Word) << 8) | lo as Word) [INFO] [stdout] 408 + ((hi as Word) << 8) | lo as Word [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/nes/disasm.rs:21:72 [INFO] [stdout] | [INFO] [stdout] 21 | let mut mem_iter = ((start as usize) .. (stop as usize)+1).map({|a| a as Addr}); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 21 - let mut mem_iter = ((start as usize) .. (stop as usize)+1).map({|a| a as Addr}); [INFO] [stdout] 21 + let mut mem_iter = ((start as usize) .. (stop as usize)+1).map(|a| a as Addr); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | let mut main_texture: G2dTexture = Texture::from_image( [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_memory` is never used [INFO] [stdout] --> src/main.rs:398:4 [INFO] [stdout] | [INFO] [stdout] 398 | fn render_memory(glyphs: &mut GlyphBrush, nes: &NES, offset: [f32; 2]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `irq` is never used [INFO] [stdout] --> src/nes/cpu.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl CPU { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn irq(&mut self, mem: &mut T) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `writew` is never used [INFO] [stdout] --> src/nes/bus.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub trait Memory { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 46 | fn writew(&mut self, addr: Addr, data: Word) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start` and `stop` are never read [INFO] [stdout] --> src/nes/disasm.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Disasm { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 10 | pub start: Addr, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | pub stop: Addr, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `prg_ram_size`, `tv1`, and `tv2` are never read [INFO] [stdout] --> src/nes/cartridge.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 10 | struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | prg_ram_size: Byte, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 16 | tv1: Byte, [INFO] [stdout] | ^^^ [INFO] [stdout] 17 | tv2: Byte [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `dummy` is never used [INFO] [stdout] --> src/nes/cartridge.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 84 | impl Cartridge { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn dummy(mirror: MirrorMode) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PPURegister` is never used [INFO] [stdout] --> src/nes/ppu.rs:47:6 [INFO] [stdout] | [INFO] [stdout] 47 | enum PPURegister { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_status`, `set_control`, and `get_color` are never used [INFO] [stdout] --> src/nes/ppu.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 110 | impl PPU { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 150 | fn get_status(&self, flag: Status) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | fn set_control(&mut self, flag: Control, val: bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 312 | fn get_color(&self, pixel: Byte, _palette: Byte) -> Pixel { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | / Texture::from_image( [INFO] [stdout] 97 | | &mut texture_ctx, [INFO] [stdout] 98 | | &nes.ppu.borrow().pattern_tables[i], [INFO] [stdout] 99 | | &TextureSettings::new() [INFO] [stdout] 100 | | ).unwrap() [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | / Texture::from_image( [INFO] [stdout] 106 | | &mut texture_ctx, [INFO] [stdout] 107 | | &nes.ppu.borrow().palettes[i], [INFO] [stdout] 108 | | &TextureSettings::new() [INFO] [stdout] 109 | | ).unwrap() [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/nes.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 40 | let ppu_bus = Rc::new(RefCell::new(PPUBus::new())); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | bus: Bus::new(ppu.clone(), ppu_bus.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/nes.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 40 | let ppu_bus = Rc::new(RefCell::new(PPUBus::new())); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | ppu_bus: ppu_bus.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/nes.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn insert_cartridge(&mut self, cartridge: Cartridge) { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | // both buses need to be connected to the cartridge [INFO] [stdout] 54 | let cart = Rc::new(RefCell::new(cartridge)); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | self.bus.insert_cartridge(cart.clone()); [INFO] [stdout] 56 | self.ppu_bus.borrow_mut().insert_cartridge(cart.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/nes.rs:56:52 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn insert_cartridge(&mut self, cartridge: Cartridge) { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | // both buses need to be connected to the cartridge [INFO] [stdout] 54 | let cart = Rc::new(RefCell::new(cartridge)); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | self.bus.insert_cartridge(cart.clone()); [INFO] [stdout] 56 | self.ppu_bus.borrow_mut().insert_cartridge(cart.clone()) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/nes/bus.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(ppu: Rc>, ppu_bus: Rc>) -> Self { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | cartridge: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/nes/cartridge.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 86 | let mut f = File::open(path)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 109 | Ok(Cartridge { [INFO] [stdout] | ____________^ [INFO] [stdout] 110 | | prg_rom: prg_rom, [INFO] [stdout] 111 | | chr_rom: chr_rom, [INFO] [stdout] 112 | | mapper: Box::new(mapper), [INFO] [stdout] 113 | | mirror: mirror, [INFO] [stdout] 114 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/nes/mappers.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 35 | if 0x8000 <= addr && addr <= 0xFFFF { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/nes/mappers.rs:45:30 [INFO] [stdout] | [INFO] [stdout] 45 | if 0x8000 <= addr && addr <= 0xFFFF { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/nes/mappers.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | if 0x0000 <= addr && addr <= 0x1FFF { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/nes/mappers.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | if 0x0000 <= addr && addr <= 0x1FFF { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jane` (bin "jane") due to 9 previous errors; 18 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/nes/ppubus.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | let mut cart = Cartridge::dummy(mirror); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | let mut main_texture: G2dTexture = Texture::from_image( [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_memory` is never used [INFO] [stdout] --> src/main.rs:398:4 [INFO] [stdout] | [INFO] [stdout] 398 | fn render_memory(glyphs: &mut GlyphBrush, nes: &NES, offset: [f32; 2]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `irq` is never used [INFO] [stdout] --> src/nes/cpu.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl CPU { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn irq(&mut self, mem: &mut T) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `writew` is never used [INFO] [stdout] --> src/nes/bus.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub trait Memory { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 46 | fn writew(&mut self, addr: Addr, data: Word) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start` and `stop` are never read [INFO] [stdout] --> src/nes/disasm.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Disasm { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 10 | pub start: Addr, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | pub stop: Addr, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `prg_ram_size`, `tv1`, and `tv2` are never read [INFO] [stdout] --> src/nes/cartridge.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 10 | struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | prg_ram_size: Byte, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 16 | tv1: Byte, [INFO] [stdout] | ^^^ [INFO] [stdout] 17 | tv2: Byte [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PPURegister` is never used [INFO] [stdout] --> src/nes/ppu.rs:47:6 [INFO] [stdout] | [INFO] [stdout] 47 | enum PPURegister { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_status` and `get_color` are never used [INFO] [stdout] --> src/nes/ppu.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 110 | impl PPU { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 150 | fn get_status(&self, flag: Status) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 312 | fn get_color(&self, pixel: Byte, _palette: Byte) -> Pixel { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | / Texture::from_image( [INFO] [stdout] 97 | | &mut texture_ctx, [INFO] [stdout] 98 | | &nes.ppu.borrow().pattern_tables[i], [INFO] [stdout] 99 | | &TextureSettings::new() [INFO] [stdout] 100 | | ).unwrap() [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | / Texture::from_image( [INFO] [stdout] 106 | | &mut texture_ctx, [INFO] [stdout] 107 | | &nes.ppu.borrow().palettes[i], [INFO] [stdout] 108 | | &TextureSettings::new() [INFO] [stdout] 109 | | ).unwrap() [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/nes.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 40 | let ppu_bus = Rc::new(RefCell::new(PPUBus::new())); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | bus: Bus::new(ppu.clone(), ppu_bus.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/nes.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 40 | let ppu_bus = Rc::new(RefCell::new(PPUBus::new())); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | ppu_bus: ppu_bus.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/nes.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn insert_cartridge(&mut self, cartridge: Cartridge) { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | // both buses need to be connected to the cartridge [INFO] [stdout] 54 | let cart = Rc::new(RefCell::new(cartridge)); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | self.bus.insert_cartridge(cart.clone()); [INFO] [stdout] 56 | self.ppu_bus.borrow_mut().insert_cartridge(cart.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/nes.rs:56:52 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn insert_cartridge(&mut self, cartridge: Cartridge) { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | // both buses need to be connected to the cartridge [INFO] [stdout] 54 | let cart = Rc::new(RefCell::new(cartridge)); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | self.bus.insert_cartridge(cart.clone()); [INFO] [stdout] 56 | self.ppu_bus.borrow_mut().insert_cartridge(cart.clone()) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/nes/bus.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(ppu: Rc>, ppu_bus: Rc>) -> Self { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | cartridge: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/nes/cartridge.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 86 | let mut f = File::open(path)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 109 | Ok(Cartridge { [INFO] [stdout] | ____________^ [INFO] [stdout] 110 | | prg_rom: prg_rom, [INFO] [stdout] 111 | | chr_rom: chr_rom, [INFO] [stdout] 112 | | mapper: Box::new(mapper), [INFO] [stdout] 113 | | mirror: mirror, [INFO] [stdout] 114 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/nes/mappers.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 35 | if 0x8000 <= addr && addr <= 0xFFFF { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/nes/mappers.rs:45:30 [INFO] [stdout] | [INFO] [stdout] 45 | if 0x8000 <= addr && addr <= 0xFFFF { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/nes/mappers.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | if 0x0000 <= addr && addr <= 0x1FFF { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/nes/mappers.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | if 0x0000 <= addr && addr <= 0x1FFF { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jane` (bin "jane" test) due to 9 previous errors; 18 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1f5e3c7f7b96b871dc22cc9f372f31f8f0e6522e6ff5ea1c5c7d1a6189c2218e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f5e3c7f7b96b871dc22cc9f372f31f8f0e6522e6ff5ea1c5c7d1a6189c2218e", kill_on_drop: false }` [INFO] [stdout] 1f5e3c7f7b96b871dc22cc9f372f31f8f0e6522e6ff5ea1c5c7d1a6189c2218e