[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 beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-0/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/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" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] 1f252d0aef0f8397482bf7df2b2f88d0c8ee7346db56651ff0713badccb1c309 [INFO] running `"docker" "start" "-a" "1f252d0aef0f8397482bf7df2b2f88d0c8ee7346db56651ff0713badccb1c309"` [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/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/crater/target/debug/deps/micro_gui_example-a4dc81b2a68a7a6a.micro_gui_example.bw0yjwz6-cgu.0.rcgu.o" "/opt/crater/target/debug/deps/micro_gui_example-a4dc81b2a68a7a6a.micro_gui_example.bw0yjwz6-cgu.1.rcgu.o" "/opt/crater/target/debug/deps/micro_gui_example-a4dc81b2a68a7a6a.micro_gui_example.bw0yjwz6-cgu.10.rcgu.o" "/opt/crater/target/debug/deps/micro_gui_example-a4dc81b2a68a7a6a.micro_gui_example.bw0yjwz6-cgu.11.rcgu.o" "/opt/crater/target/debug/deps/micro_gui_example-a4dc81b2a68a7a6a.micro_gui_example.bw0yjwz6-cgu.12.rcgu.o" "/opt/crater/target/debug/deps/micro_gui_example-a4dc81b2a68a7a6a.micro_gui_example.bw0yjwz6-cgu.13.rcgu.o" "/opt/crater/target/debug/deps/micro_gui_example-a4dc81b2a68a7a6a.micro_gui_example.bw0yjwz6-cgu.14.rcgu.o" "/opt/crater/target/debug/deps/micro_gui_example-a4dc81b2a68a7a6a.micro_gui_example.bw0yjwz6-cgu.15.rcgu.o" "/opt/crater/target/debug/deps/micro_gui_example-a4dc81b2a68a7a6a.micro_gui_example.bw0yjwz6-cgu.2.rcgu.o" "/opt/crater/target/debug/deps/micro_gui_example-a4dc81b2a68a7a6a.micro_gui_example.bw0yjwz6-cgu.3.rcgu.o" "/opt/crater/target/debug/deps/micro_gui_example-a4dc81b2a68a7a6a.micro_gui_example.bw0yjwz6-cgu.4.rcgu.o" "/opt/crater/target/debug/deps/micro_gui_example-a4dc81b2a68a7a6a.micro_gui_example.bw0yjwz6-cgu.5.rcgu.o" "/opt/crater/target/debug/deps/micro_gui_example-a4dc81b2a68a7a6a.micro_gui_example.bw0yjwz6-cgu.6.rcgu.o" "/opt/crater/target/debug/deps/micro_gui_example-a4dc81b2a68a7a6a.micro_gui_example.bw0yjwz6-cgu.7.rcgu.o" "/opt/crater/target/debug/deps/micro_gui_example-a4dc81b2a68a7a6a.micro_gui_example.bw0yjwz6-cgu.8.rcgu.o" "/opt/crater/target/debug/deps/micro_gui_example-a4dc81b2a68a7a6a.micro_gui_example.bw0yjwz6-cgu.9.rcgu.o" "-o" "/opt/crater/target/debug/deps/micro_gui_example-a4dc81b2a68a7a6a" "/opt/crater/target/debug/deps/micro_gui_example-a4dc81b2a68a7a6a.2285escky9iru84n.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/crater/target/debug/deps" "-L" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/crater/target/debug/deps/libmicro_gui-cf5b46a8b06c2f6a.rlib" "/opt/crater/target/debug/deps/libsdl2-e64d837b3cdc4afe.rlib" "/opt/crater/target/debug/deps/librand-5eda43279f0ef45c.rlib" "/opt/crater/target/debug/deps/librand-7efbcbd89944bda6.rlib" "/opt/crater/target/debug/deps/libsdl2_sys-ce024ae0720bdc60.rlib" "/opt/crater/target/debug/deps/libbitflags-b03ee8d07369378c.rlib" "/opt/crater/target/debug/deps/liblazy_static-8e8f275d3efea5b8.rlib" "/opt/crater/target/debug/deps/liblibc-37f3d1c853b3b7bd.rlib" "/opt/crater/target/debug/deps/libnum-a5efe8b19f8dba1e.rlib" "/opt/crater/target/debug/deps/libnum_iter-161e13ffd3321f27.rlib" "/opt/crater/target/debug/deps/libnum_integer-440f23443e3e87b1.rlib" "/opt/crater/target/debug/deps/libnum_traits-c28daeab5210b49d.rlib" "-Wl,--start-group" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1d6d86bd078a28e9.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-e9721e46a424e2a9.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-c07193698f282147.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-6da45690f3863086.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-690797036dd27680.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-d3896ccbfd8eda2b.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-7cccc3739e3d7623.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-5e9ba178a513cd29.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-5ca9f83bf63d1f4b.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-bba1c7ef9e950882.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-e23c9de62012deb5.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-9b59dffdcd513d5d.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-17392340ab2e4a97.rlib" "-Wl,--end-group" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-ac21508a81e3f7f3.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" "1f252d0aef0f8397482bf7df2b2f88d0c8ee7346db56651ff0713badccb1c309"` [INFO] running `"docker" "rm" "-f" "1f252d0aef0f8397482bf7df2b2f88d0c8ee7346db56651ff0713badccb1c309"` [INFO] [stdout] 1f252d0aef0f8397482bf7df2b2f88d0c8ee7346db56651ff0713badccb1c309