[INFO] fetching crate micro-gui 0.1.0... [INFO] testing micro-gui-0.1.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate micro-gui 0.1.0 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate micro-gui 0.1.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate micro-gui 0.1.0 [INFO] finished tweaking crates.io crate micro-gui 0.1.0 [INFO] tweaked toml for crates.io crate micro-gui 0.1.0 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 sdl2-sys v0.30.0 [INFO] [stderr] Downloaded sdl2 v0.30.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bdbff8fadf3db6cfd5d8d2cefb1f8704035fcf501241fd862bd4bb0b76f2d4c2 [INFO] running `Command { std: "docker" "start" "-a" "bdbff8fadf3db6cfd5d8d2cefb1f8704035fcf501241fd862bd4bb0b76f2d4c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bdbff8fadf3db6cfd5d8d2cefb1f8704035fcf501241fd862bd4bb0b76f2d4c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdbff8fadf3db6cfd5d8d2cefb1f8704035fcf501241fd862bd4bb0b76f2d4c2", kill_on_drop: false }` [INFO] [stdout] bdbff8fadf3db6cfd5d8d2cefb1f8704035fcf501241fd862bd4bb0b76f2d4c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75d32234284b547505de9369877166b34a74124057204da95c58a08a7e90de63 [INFO] running `Command { std: "docker" "start" "-a" "75d32234284b547505de9369877166b34a74124057204da95c58a08a7e90de63", kill_on_drop: false }` [INFO] [stderr] Compiling sdl2-sys v0.30.0 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling sdl2 v0.30.0 [INFO] [stderr] Compiling micro-gui v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/layer.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | renderer: Option<&'a mut (Renderable + 'a)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 - renderer: Option<&'a mut (Renderable + 'a)>, [INFO] [stdout] 12 + renderer: Option<&'a mut (dyn Renderable + 'a)>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/window.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | on_load: Option<&'a mut (OnLoad + 'a)>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 - on_load: Option<&'a mut (OnLoad + 'a)>, [INFO] [stdout] 19 + on_load: Option<&'a mut (dyn OnLoad + 'a)>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/window.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | on_unload: Option<&'a mut (OnUnload + 'a)>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 - on_unload: Option<&'a mut (OnUnload + 'a)>, [INFO] [stdout] 20 + on_unload: Option<&'a mut (dyn OnUnload + 'a)>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/window.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | on_event: Option<&'a mut (OnEvent + 'a)> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 - on_event: Option<&'a mut (OnEvent + 'a)> [INFO] [stdout] 21 + on_event: Option<&'a mut (dyn OnEvent + 'a)> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gui.rs:44:41 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn render(&mut self, buff: &mut Buff) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 - pub fn render(&mut self, buff: &mut Buff) { [INFO] [stdout] 44 + pub fn render(&mut self, buff: &mut dyn Buff) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/mod.rs:17:71 [INFO] [stdout] | [INFO] [stdout] 17 | fn render(&mut self, graphics: &mut Graphics, buffer: &mut Buff); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - fn render(&mut self, graphics: &mut Graphics, buffer: &mut Buff); [INFO] [stdout] 17 + fn render(&mut self, graphics: &mut Graphics, buffer: &mut dyn Buff); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/mod.rs:44:31 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn set(&self, b: &mut Buff, x: usize, y: usize, p: &Pixel) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 - pub fn set(&self, b: &mut Buff, x: usize, y: usize, p: &Pixel) { [INFO] [stdout] 44 + pub fn set(&self, b: &mut dyn Buff, x: usize, y: usize, p: &Pixel) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/mod.rs:73:39 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn draw_line(&self, buf: &mut Buff, p1: Point, p2: Point, p: &Pixel) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 - pub fn draw_line(&self, buf: &mut Buff, p1: Point, p2: Point, p: &Pixel) { [INFO] [stdout] 73 + pub fn draw_line(&self, buf: &mut dyn Buff, p1: Point, p2: Point, p: &Pixel) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/mod.rs:133:37 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn draw_rect(&self, b: &mut Buff, r: Rect, p: &Pixel) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 133 - pub fn draw_rect(&self, b: &mut Buff, r: Rect, p: &Pixel) { [INFO] [stdout] 133 + pub fn draw_rect(&self, b: &mut dyn Buff, r: Rect, p: &Pixel) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/mod.rs:145:37 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn fill_rect(&self, b: &mut Buff, r: Rect, p: &Pixel) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 145 - pub fn fill_rect(&self, b: &mut Buff, r: Rect, p: &Pixel) { [INFO] [stdout] 145 + pub fn fill_rect(&self, b: &mut dyn Buff, r: Rect, p: &Pixel) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/mod.rs:154:41 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn draw_polyline(&self, b: &mut Buff, points: &[Point], p: &Pixel) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 154 - pub fn draw_polyline(&self, b: &mut Buff, points: &[Point], p: &Pixel) { [INFO] [stdout] 154 + pub fn draw_polyline(&self, b: &mut dyn Buff, points: &[Point], p: &Pixel) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/mod.rs:164:42 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn draw_ellipse(&self, buf: &mut Buff, r: Rect, p: &Pixel) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 164 - pub fn draw_ellipse(&self, buf: &mut Buff, r: Rect, p: &Pixel) { [INFO] [stdout] 164 + pub fn draw_ellipse(&self, buf: &mut dyn Buff, r: Rect, p: &Pixel) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/layer.rs:18:56 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(bounds: Rect, renderer: Option<&'a mut (Renderable + 'a)>) -> Layer<'a, Pixel> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 - pub fn new(bounds: Rect, renderer: Option<&'a mut (Renderable + 'a)>) -> Layer<'a, Pixel> { [INFO] [stdout] 18 + pub fn new(bounds: Rect, renderer: Option<&'a mut (dyn Renderable + 'a)>) -> Layer<'a, Pixel> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/layer.rs:35:71 [INFO] [stdout] | [INFO] [stdout] 35 | fn render(&mut self, graphics: &mut Graphics, buffer: &mut Buff) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 - fn render(&mut self, graphics: &mut Graphics, buffer: &mut Buff) { [INFO] [stdout] 35 + fn render(&mut self, graphics: &mut Graphics, buffer: &mut dyn Buff) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/window.rs:41:62 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn new(w: usize, h: usize, renderer: Option<&'a mut (Renderable + 'a)>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 - pub fn new(w: usize, h: usize, renderer: Option<&'a mut (Renderable + 'a)>) -> Self { [INFO] [stdout] 41 + pub fn new(w: usize, h: usize, renderer: Option<&'a mut (dyn Renderable + 'a)>) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/window.rs:48:61 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn bind_handlers(&mut self, on_load: Option<&'a mut OnLoad>, on_unload: Option<&'a mut OnUnload>, on_event: Option<&'a mut OnEven... [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 - pub fn bind_handlers(&mut self, on_load: Option<&'a mut OnLoad>, on_unload: Option<&'a mut OnUnload>, on_event: Option<&'a mut OnEvent>) { [INFO] [stdout] 48 + pub fn bind_handlers(&mut self, on_load: Option<&'a mut dyn OnLoad>, on_unload: Option<&'a mut OnUnload>, on_event: Option<&'a mut OnEvent>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/window.rs:48:96 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn bind_handlers(&mut self, on_load: Option<&'a mut OnLoad>, on_unload: Option<&'a mut OnUnload>, on_event: Option<&'a mut OnEven... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 - pub fn bind_handlers(&mut self, on_load: Option<&'a mut OnLoad>, on_unload: Option<&'a mut OnUnload>, on_event: Option<&'a mut OnEvent>) { [INFO] [stdout] 48 + pub fn bind_handlers(&mut self, on_load: Option<&'a mut OnLoad>, on_unload: Option<&'a mut dyn OnUnload>, on_event: Option<&'a mut OnEvent>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/window.rs:48:132 [INFO] [stdout] | [INFO] [stdout] 48 | ... on_unload: Option<&'a mut OnUnload>, on_event: Option<&'a mut OnEvent>) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 - pub fn bind_handlers(&mut self, on_load: Option<&'a mut OnLoad>, on_unload: Option<&'a mut OnUnload>, on_event: Option<&'a mut OnEvent>) { [INFO] [stdout] 48 + pub fn bind_handlers(&mut self, on_load: Option<&'a mut OnLoad>, on_unload: Option<&'a mut OnUnload>, on_event: Option<&'a mut dyn OnEvent>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/window.rs:55:75 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn render(&mut self, graphics: &mut Graphics, buffer: &mut Buff) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 - pub fn render(&mut self, graphics: &mut Graphics, buffer: &mut Buff) { [INFO] [stdout] 55 + pub fn render(&mut self, graphics: &mut Graphics, buffer: &mut dyn Buff) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/widgets/demo.rs:23:71 [INFO] [stdout] | [INFO] [stdout] 23 | fn render(&mut self, graphics: &mut Graphics, buffer: &mut Buff) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - fn render(&mut self, graphics: &mut Graphics, buffer: &mut Buff) { [INFO] [stdout] 23 + fn render(&mut self, graphics: &mut Graphics, buffer: &mut dyn Buff) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `limit` [INFO] [stdout] --> src/graphics/mod.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | fn limit(min: usize, max: usize, actual: usize) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/micro_gui_example-ee93ac00ad7a0ba8.micro_gui_example.dc9719bf-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/micro_gui_example-ee93ac00ad7a0ba8.micro_gui_example.dc9719bf-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/micro_gui_example-ee93ac00ad7a0ba8.micro_gui_example.dc9719bf-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/micro_gui_example-ee93ac00ad7a0ba8.micro_gui_example.dc9719bf-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/micro_gui_example-ee93ac00ad7a0ba8.micro_gui_example.dc9719bf-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/micro_gui_example-ee93ac00ad7a0ba8.micro_gui_example.dc9719bf-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/micro_gui_example-ee93ac00ad7a0ba8.micro_gui_example.dc9719bf-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/micro_gui_example-ee93ac00ad7a0ba8.micro_gui_example.dc9719bf-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/micro_gui_example-ee93ac00ad7a0ba8.micro_gui_example.dc9719bf-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/micro_gui_example-ee93ac00ad7a0ba8.micro_gui_example.dc9719bf-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/micro_gui_example-ee93ac00ad7a0ba8.micro_gui_example.dc9719bf-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/micro_gui_example-ee93ac00ad7a0ba8.micro_gui_example.dc9719bf-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/micro_gui_example-ee93ac00ad7a0ba8.micro_gui_example.dc9719bf-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/micro_gui_example-ee93ac00ad7a0ba8.micro_gui_example.dc9719bf-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/micro_gui_example-ee93ac00ad7a0ba8.micro_gui_example.dc9719bf-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/micro_gui_example-ee93ac00ad7a0ba8.micro_gui_example.dc9719bf-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/micro_gui_example-ee93ac00ad7a0ba8.1hw975mnrdgxduub.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libmicro_gui-04a6ae1880c6e88c.rlib" "/opt/rustwide/target/debug/deps/libsdl2-a7d00a80588a6fd0.rlib" "/opt/rustwide/target/debug/deps/librand-d54953e4322f73ee.rlib" "/opt/rustwide/target/debug/deps/librand-e1ff99d7365d2f72.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-3d2e1773aeb1ed64.rlib" "/opt/rustwide/target/debug/deps/libbitflags-b50f842450d10e09.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-e7857b9bcc96adbb.rlib" "/opt/rustwide/target/debug/deps/liblibc-cbcf0797f466a12c.rlib" "/opt/rustwide/target/debug/deps/libnum-a7fcace8b584b366.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-8f34e6e06bd01354.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-ab8040034daf36d5.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-fee3ef04727f9865.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8d61b92a0a02f53a.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-fc45202bb435016b.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f2400674c7513725.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-605c3a7d1a5d300d.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-3d4fb4efa907e4e8.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-65207f030ab23308.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-76ca199cb0186109.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-1e3e01ed4f561dc1.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-dd8dddcba7c13fee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-00b13d31c3420656.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-e4c8460b81557bd5.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-600d46e5f0005455.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e4a08a2585b62d37.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-fbc21ec567cb9dc7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-10b3fa8e49bd978f.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-64625b73694ffce7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-fb6b78ac543a58ee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-1d1f2d1bec6f51b8.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-acf5ff6e9595d982.rlib" "-Wl,-Bdynamic" "-lSDL2_image" "-lSDL2" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/micro_gui_example-ee93ac00ad7a0ba8" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lSDL2_image [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `micro-gui` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "75d32234284b547505de9369877166b34a74124057204da95c58a08a7e90de63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75d32234284b547505de9369877166b34a74124057204da95c58a08a7e90de63", kill_on_drop: false }` [INFO] [stdout] 75d32234284b547505de9369877166b34a74124057204da95c58a08a7e90de63