[INFO] crate micro-gui 0.1.0 is already in cache [INFO] extracting crate micro-gui 0.1.0 into work/ex/beta-1.38-1/sources/1.37.0/reg/micro-gui/0.1.0 [INFO] extracting crate micro-gui 0.1.0 into work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/micro-gui/0.1.0 [INFO] validating manifest of micro-gui-0.1.0 on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of micro-gui-0.1.0 on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing micro-gui-0.1.0 [INFO] finished frobbing micro-gui-0.1.0 [INFO] frobbed toml for micro-gui-0.1.0 written to work/ex/beta-1.38-1/sources/1.37.0/reg/micro-gui/0.1.0/Cargo.toml [INFO] started frobbing micro-gui-0.1.0 [INFO] finished frobbing micro-gui-0.1.0 [INFO] frobbed toml for micro-gui-0.1.0 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/micro-gui/0.1.0/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing micro-gui-0.1.0 against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-3/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/micro-gui/0.1.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] e871ef23359848b48d2b35e0980fe500fc84a84bb18f7cb36e1f1aaeff493137 [INFO] running `"docker" "start" "-a" "e871ef23359848b48d2b35e0980fe500fc84a84bb18f7cb36e1f1aaeff493137"` [INFO] [stderr] Compiling sdl2-sys v0.30.0 [INFO] [stderr] Compiling sdl2 v0.30.0 [INFO] [stderr] Compiling micro-gui v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/layer.rs:12:31 [INFO] [stderr] | [INFO] [stderr] 12 | renderer: Option<&'a mut (Renderable + 'a)>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Renderable + 'a` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(bare_trait_objects)] on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/layer.rs:18:56 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn new(bounds: Rect, renderer: Option<&'a mut (Renderable + 'a)>) -> Layer<'a, Pixel> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Renderable + 'a` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/layer.rs:35:71 [INFO] [stderr] | [INFO] [stderr] 35 | fn render(&mut self, graphics: &mut Graphics, buffer: &mut Buff) { [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Buff` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/window.rs:19:30 [INFO] [stderr] | [INFO] [stderr] 19 | on_load: Option<&'a mut (OnLoad + 'a)>, [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn OnLoad + 'a` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/window.rs:20:32 [INFO] [stderr] | [INFO] [stderr] 20 | on_unload: Option<&'a mut (OnUnload + 'a)>, [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn OnUnload + 'a` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/window.rs:21:31 [INFO] [stderr] | [INFO] [stderr] 21 | on_event: Option<&'a mut (OnEvent + 'a)> [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn OnEvent + 'a` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/window.rs:41:62 [INFO] [stderr] | [INFO] [stderr] 41 | pub fn new(w: usize, h: usize, renderer: Option<&'a mut (Renderable + 'a)>) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Renderable + 'a` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/window.rs:48:61 [INFO] [stderr] | [INFO] [stderr] 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] [stderr] | ^^^^^^ help: use `dyn`: `dyn OnLoad` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/window.rs:48:96 [INFO] [stderr] | [INFO] [stderr] 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] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn OnUnload` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/window.rs:48:132 [INFO] [stderr] | [INFO] [stderr] 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] [stderr] | ^^^^^^^ help: use `dyn`: `dyn OnEvent` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/window.rs:55:75 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn render(&mut self, graphics: &mut Graphics, buffer: &mut Buff) { [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Buff` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/gui.rs:44:41 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn render(&mut self, buff: &mut Buff) { [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Buff` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/graphics/mod.rs:17:71 [INFO] [stderr] | [INFO] [stderr] 17 | fn render(&mut self, graphics: &mut Graphics, buffer: &mut Buff); [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Buff` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/graphics/mod.rs:44:31 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn set(&self, b: &mut Buff, x: usize, y: usize, p: &Pixel) { [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Buff` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/graphics/mod.rs:73:39 [INFO] [stderr] | [INFO] [stderr] 73 | pub fn draw_line(&self, buf: &mut Buff, p1: Point, p2: Point, p: &Pixel) { [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Buff` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/graphics/mod.rs:133:37 [INFO] [stderr] | [INFO] [stderr] 133 | pub fn draw_rect(&self, b: &mut Buff, r: Rect, p: &Pixel) { [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Buff` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/graphics/mod.rs:145:37 [INFO] [stderr] | [INFO] [stderr] 145 | pub fn fill_rect(&self, b: &mut Buff, r: Rect, p: &Pixel) { [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Buff` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/graphics/mod.rs:154:41 [INFO] [stderr] | [INFO] [stderr] 154 | pub fn draw_polyline(&self, b: &mut Buff, points: &[Point], p: &Pixel) { [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Buff` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/graphics/mod.rs:164:42 [INFO] [stderr] | [INFO] [stderr] 164 | pub fn draw_ellipse(&self, buf: &mut Buff, r: Rect, p: &Pixel) { [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Buff` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/widgets/demo.rs:23:71 [INFO] [stderr] | [INFO] [stderr] 23 | fn render(&mut self, graphics: &mut Graphics, buffer: &mut Buff) { [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Buff` [INFO] [stderr] [INFO] [stderr] warning: method is never used: `limit` [INFO] [stderr] --> src/graphics/mod.rs:66:5 [INFO] [stderr] | [INFO] [stderr] 66 | fn limit(min: usize, max: usize, actual: usize) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] error: linking with `cc` failed: exit code: 1 [INFO] [stderr] | [INFO] [stderr] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/crater/target/debug/deps/micro_gui_example-8eb48920ea68c15b.micro_gui_example.6dzau1ry-cgu.0.rcgu.o" "/opt/crater/target/debug/deps/micro_gui_example-8eb48920ea68c15b.micro_gui_example.6dzau1ry-cgu.1.rcgu.o" "/opt/crater/target/debug/deps/micro_gui_example-8eb48920ea68c15b.micro_gui_example.6dzau1ry-cgu.10.rcgu.o" "/opt/crater/target/debug/deps/micro_gui_example-8eb48920ea68c15b.micro_gui_example.6dzau1ry-cgu.11.rcgu.o" "/opt/crater/target/debug/deps/micro_gui_example-8eb48920ea68c15b.micro_gui_example.6dzau1ry-cgu.12.rcgu.o" "/opt/crater/target/debug/deps/micro_gui_example-8eb48920ea68c15b.micro_gui_example.6dzau1ry-cgu.13.rcgu.o" "/opt/crater/target/debug/deps/micro_gui_example-8eb48920ea68c15b.micro_gui_example.6dzau1ry-cgu.14.rcgu.o" "/opt/crater/target/debug/deps/micro_gui_example-8eb48920ea68c15b.micro_gui_example.6dzau1ry-cgu.15.rcgu.o" "/opt/crater/target/debug/deps/micro_gui_example-8eb48920ea68c15b.micro_gui_example.6dzau1ry-cgu.2.rcgu.o" "/opt/crater/target/debug/deps/micro_gui_example-8eb48920ea68c15b.micro_gui_example.6dzau1ry-cgu.3.rcgu.o" "/opt/crater/target/debug/deps/micro_gui_example-8eb48920ea68c15b.micro_gui_example.6dzau1ry-cgu.4.rcgu.o" "/opt/crater/target/debug/deps/micro_gui_example-8eb48920ea68c15b.micro_gui_example.6dzau1ry-cgu.5.rcgu.o" "/opt/crater/target/debug/deps/micro_gui_example-8eb48920ea68c15b.micro_gui_example.6dzau1ry-cgu.6.rcgu.o" "/opt/crater/target/debug/deps/micro_gui_example-8eb48920ea68c15b.micro_gui_example.6dzau1ry-cgu.7.rcgu.o" "/opt/crater/target/debug/deps/micro_gui_example-8eb48920ea68c15b.micro_gui_example.6dzau1ry-cgu.8.rcgu.o" "/opt/crater/target/debug/deps/micro_gui_example-8eb48920ea68c15b.micro_gui_example.6dzau1ry-cgu.9.rcgu.o" "-o" "/opt/crater/target/debug/deps/micro_gui_example-8eb48920ea68c15b" "/opt/crater/target/debug/deps/micro_gui_example-8eb48920ea68c15b.1jp6hcvqraymx7t3.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/crater/target/debug/deps" "-L" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/crater/target/debug/deps/libmicro_gui-0c1d184b963b7b6a.rlib" "/opt/crater/target/debug/deps/libsdl2-086ff5a4bdccbe73.rlib" "/opt/crater/target/debug/deps/librand-c5856808b7d2d058.rlib" "/opt/crater/target/debug/deps/librand-a2977b71a5d1a0ed.rlib" "/opt/crater/target/debug/deps/libsdl2_sys-0d10cd23e7a415a5.rlib" "/opt/crater/target/debug/deps/libbitflags-05fa20c47058c1db.rlib" "/opt/crater/target/debug/deps/liblazy_static-0c9d1899e9eae559.rlib" "/opt/crater/target/debug/deps/liblibc-d019039477cac03b.rlib" "/opt/crater/target/debug/deps/libnum-5caa7dd009747390.rlib" "/opt/crater/target/debug/deps/libnum_iter-710c4cd4b54241c7.rlib" "/opt/crater/target/debug/deps/libnum_integer-e8e7d1ec85b23cb1.rlib" "/opt/crater/target/debug/deps/libnum_traits-d11dcc7883adaecb.rlib" "-Wl,--start-group" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-4a76ff35a356aedf.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-e11c7b3b3225afe2.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-13217ede3d276f16.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-621a9ee22da6caa1.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-546c844e8071bbeb.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-be9569e4d599746f.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-47d8845cef2a3bc5.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-017511bce73a530c.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-be7979c57a08057b.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-d6459c4f0817c67c.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-580035dd98451925.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-aee5c24fff305dea.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-8a55a4098920125a.rlib" "-Wl,--end-group" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-9fc4b5be2ba5cc19.rlib" "-Wl,-Bdynamic" "-lSDL2_image" "-lSDL2" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil" [INFO] [stderr] = note: /usr/bin/ld: cannot find -lSDL2_image [INFO] [stderr] collect2: error: ld returned 1 exit status [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `micro-gui`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "e871ef23359848b48d2b35e0980fe500fc84a84bb18f7cb36e1f1aaeff493137"` [INFO] running `"docker" "rm" "-f" "e871ef23359848b48d2b35e0980fe500fc84a84bb18f7cb36e1f1aaeff493137"` [INFO] [stdout] e871ef23359848b48d2b35e0980fe500fc84a84bb18f7cb36e1f1aaeff493137