[INFO] updating cached repository Blei/rustTracks [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/Blei/rustTracks [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/Blei/rustTracks" "work/ex/pr-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/gh/Blei/rustTracks"` [INFO] [stderr] Cloning into 'work/ex/pr-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/gh/Blei/rustTracks'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/Blei/rustTracks" "work/ex/pr-61100/sources/try#58b21121d0b447ceb3f1a655155d802191acf044/gh/Blei/rustTracks"` [INFO] [stderr] Cloning into 'work/ex/pr-61100/sources/try#58b21121d0b447ceb3f1a655155d802191acf044/gh/Blei/rustTracks'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 44a07958f1c6d61770b6813dc1c52d206d5e9d49 [INFO] sha for GitHub repo Blei/rustTracks: 44a07958f1c6d61770b6813dc1c52d206d5e9d49 [INFO] validating manifest of Blei/rustTracks on toolchain master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of Blei/rustTracks on toolchain try#58b21121d0b447ceb3f1a655155d802191acf044 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+58b21121d0b447ceb3f1a655155d802191acf044-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing Blei/rustTracks [INFO] removed path dependency gtk from Blei/rustTracks [INFO] removed path dependency timerfd from Blei/rustTracks [INFO] finished frobbing Blei/rustTracks [INFO] frobbed toml for Blei/rustTracks written to work/ex/pr-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/gh/Blei/rustTracks/Cargo.toml [INFO] started frobbing Blei/rustTracks [INFO] removed path dependency gtk from Blei/rustTracks [INFO] removed path dependency timerfd from Blei/rustTracks [INFO] finished frobbing Blei/rustTracks [INFO] frobbed toml for Blei/rustTracks written to work/ex/pr-61100/sources/try#58b21121d0b447ceb3f1a655155d802191acf044/gh/Blei/rustTracks/Cargo.toml [INFO] crate Blei/rustTracks already has a lockfile, it will not be regenerated [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /mnt/crater-raid/crater/work/ex/pr-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/gh/Blei/rustTracks/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache lock [INFO] [stderr] Updating git repository `https://github.com/hyperium/hyper.git` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+58b21121d0b447ceb3f1a655155d802191acf044-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/hyperium/hyper.git` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache lock [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+58b21121d0b447ceb3f1a655155d802191acf044-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking Blei/rustTracks against master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504 for pr-61100 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-61100/worker-2/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/gh/Blei/rustTracks:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/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=forbid" "-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" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] f8421985a49d93b6f326e0bc7f5e1c3de6b641473911c65742a9179ab68eb4db [INFO] running `"docker" "start" "-a" "f8421985a49d93b6f326e0bc7f5e1c3de6b641473911c65742a9179ab68eb4db"` [INFO] [stderr] warning: dependency (gtk) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (timerfd) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Checking timerfd v1.0.0 [INFO] [stderr] Checking rusttracks v0.0.1 (/opt/crater/workdir) [INFO] [stderr] error[E0658]: The attribute `unsafe_destructor` is currently unknown to the compiler and may have meaning added to it in the future [INFO] [stderr] --> src/gui.rs:208:3 [INFO] [stderr] | [INFO] [stderr] 208 | #[unsafe_destructor] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/29642 [INFO] [stderr] = help: add #![feature(custom_attribute)] to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: The attribute `unsafe_destructor` is currently unknown to the compiler and may have meaning added to it in the future [INFO] [stderr] --> src/gui.rs:208:3 [INFO] [stderr] | [INFO] [stderr] 208 | #[unsafe_destructor] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/29642 [INFO] [stderr] = help: add #![feature(custom_attribute)] to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `GListIterator` [INFO] [stderr] --> src/gui.rs:852:20 [INFO] [stderr] | [INFO] [stderr] 852 | for ptr in GListIterator::new(&*l) { [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `GListIterator` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `GListIterator` [INFO] [stderr] --> src/gui.rs:852:20 [INFO] [stderr] | [INFO] [stderr] 852 | for ptr in GListIterator::new(&*l) { [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `GListIterator` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `TimerGSource` in `timerfd` [INFO] [stderr] --> src/player.rs:203:35 [INFO] [stderr] | [INFO] [stderr] 203 | let mut rt = timerfd::TimerGSource::new(rc as Box); [INFO] [stderr] | ^^^^^^^^^^^^ could not find `TimerGSource` in `timerfd` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `TimerGSource` in `timerfd` [INFO] [stderr] --> src/player.rs:212:35 [INFO] [stderr] | [INFO] [stderr] 212 | let mut pt = timerfd::TimerGSource::new(pc as Box); [INFO] [stderr] | ^^^^^^^^^^^^ could not find `TimerGSource` in `timerfd` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `TimerGSource` in `timerfd` [INFO] [stderr] --> src/player.rs:203:35 [INFO] [stderr] | [INFO] [stderr] 203 | let mut rt = timerfd::TimerGSource::new(rc as Box); [INFO] [stderr] | ^^^^^^^^^^^^ could not find `TimerGSource` in `timerfd` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `TimerGSource` in `timerfd` [INFO] [stderr] --> src/player.rs:212:35 [INFO] [stderr] | [INFO] [stderr] 212 | let mut pt = timerfd::TimerGSource::new(pc as Box); [INFO] [stderr] | ^^^^^^^^^^^^ could not find `TimerGSource` in `timerfd` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `HttpError` in `hyper` [INFO] [stderr] --> src/webinterface.rs:93:35 [INFO] [stderr] | [INFO] [stderr] 93 | Err(io_err) => Err(hyper::HttpError::HttpIoError(io_err)), [INFO] [stderr] | ^^^^^^^^^ could not find `HttpError` in `hyper` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `HttpError` in `hyper` [INFO] [stderr] --> src/webinterface.rs:93:35 [INFO] [stderr] | [INFO] [stderr] 93 | Err(io_err) => Err(hyper::HttpError::HttpIoError(io_err)), [INFO] [stderr] | ^^^^^^^^^ could not find `HttpError` in `hyper` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GdkPixbuf` in this scope [INFO] [stderr] --> src/gui.rs:23:30 [INFO] [stderr] | [INFO] [stderr] 23 | fn get_icon_pixbuf() -> *mut GdkPixbuf { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GdkPixbuf` in this scope [INFO] [stderr] --> src/gui.rs:27:50 [INFO] [stderr] | [INFO] [stderr] 27 | fn get_pixbuf_from_data(pic_data: &[u8]) -> *mut GdkPixbuf { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `g_memory_input_stream_new_from_data` in this scope [INFO] [stderr] --> src/gui.rs:31:22 [INFO] [stderr] | [INFO] [stderr] 31 | let stream = g_memory_input_stream_new_from_data( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gdk_pixbuf_new_from_stream` in this scope [INFO] [stderr] --> src/gui.rs:34:22 [INFO] [stderr] | [INFO] [stderr] 34 | let pixbuf = gdk_pixbuf_new_from_stream(stream, ptr::null_mut(), &mut err); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `g_input_stream_close` in this scope [INFO] [stderr] --> src/gui.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | g_input_stream_close(stream, ptr::null_mut(), &mut err); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GSource` in this scope [INFO] [stderr] --> src/gui.rs:51:16 [INFO] [stderr] | [INFO] [stderr] 51 | _g_source: GSource, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GdkPixbuf` in this scope [INFO] [stderr] --> src/gui.rs:89:42 [INFO] [stderr] | [INFO] [stderr] 89 | fn set_image(&mut self, pixbuf: *mut GdkPixbuf) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gdk_pixbuf_scale_simple` in this scope [INFO] [stderr] --> src/gui.rs:98:27 [INFO] [stderr] | [INFO] [stderr] 98 | let pixbuf2 = gdk_pixbuf_scale_simple(&*pixbuf1, self.size, self.size, GDK_INTERP_BILINEAR); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GDK_INTERP_BILINEAR` in this scope [INFO] [stderr] --> src/gui.rs:98:84 [INFO] [stderr] | [INFO] [stderr] 98 | let pixbuf2 = gdk_pixbuf_scale_simple(&*pixbuf1, self.size, self.size, GDK_INTERP_BILINEAR); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gdk_pixbuf_unref` in this scope [INFO] [stderr] --> src/gui.rs:99:13 [INFO] [stderr] | [INFO] [stderr] 99 | gdk_pixbuf_unref(pixbuf1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gdk_pixbuf_unref` in this scope [INFO] [stderr] --> src/gui.rs:101:13 [INFO] [stderr] | [INFO] [stderr] 101 | gdk_pixbuf_unref(pixbuf2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PANGO_WRAP_WORD_CHAR` in this scope [INFO] [stderr] --> src/gui.rs:128:66 [INFO] [stderr] | [INFO] [stderr] 128 | gtk_label_set_line_wrap_mode(label as *mut GtkLabel, PANGO_WRAP_WORD_CHAR); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `GTK_WRAP_WORD_CHAR` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `g_signal_connect` in this scope [INFO] [stderr] --> src/gui.rs:145:17 [INFO] [stderr] | [INFO] [stderr] 145 | g_signal_connect(button as gpointer, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/gui.rs:145:44 [INFO] [stderr] | [INFO] [stderr] 145 | g_signal_connect(button as gpointer, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/gui.rs:148:71 [INFO] [stderr] | [INFO] [stderr] 148 | mem::transmute::<&(*mut Gui, usize), gpointer>(mix_table_entry)); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `guint` in this scope [INFO] [stderr] --> src/gui.rs:184:27 [INFO] [stderr] | [INFO] [stderr] 184 | status_bar_ci: Option, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GSourceFuncs` in this scope [INFO] [stderr] --> src/gui.rs:200:21 [INFO] [stderr] | [INFO] [stderr] 200 | g_source_funcs: GSourceFuncs, [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `g_source_unref` in this scope [INFO] [stderr] --> src/gui.rs:214:17 [INFO] [stderr] | [INFO] [stderr] 214 | g_source_unref(self.gui_g_source as *mut GSource); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GSource` in this scope [INFO] [stderr] --> src/gui.rs:214:58 [INFO] [stderr] | [INFO] [stderr] 214 | g_source_unref(self.gui_g_source as *mut GSource); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Struct__GSourceFuncs` in this scope [INFO] [stderr] --> src/gui.rs:251:29 [INFO] [stderr] | [INFO] [stderr] 251 | g_source_funcs: Struct__GSourceFuncs { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gtk_init_with_args_2` in this scope [INFO] [stderr] --> src/gui.rs:329:25 [INFO] [stderr] | [INFO] [stderr] 329 | args2 = gtk_init_with_args_2(args.clone()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `gtk_init_with_args` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `g_signal_connect` in this scope [INFO] [stderr] --> src/gui.rs:333:17 [INFO] [stderr] | [INFO] [stderr] 333 | g_signal_connect(self.main_window as gpointer, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/gui.rs:333:54 [INFO] [stderr] | [INFO] [stderr] 333 | g_signal_connect(self.main_window as gpointer, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/gui.rs:336:57 [INFO] [stderr] | [INFO] [stderr] 336 | mem::transmute::<&Gui, gpointer>(self)); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gdk_pixbuf_unref` in this scope [INFO] [stderr] --> src/gui.rs:339:17 [INFO] [stderr] | [INFO] [stderr] 339 | gdk_pixbuf_unref(icon); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `g_signal_connect` in this scope [INFO] [stderr] --> src/gui.rs:388:21 [INFO] [stderr] | [INFO] [stderr] 388 | g_signal_connect(smart_id_entry as gpointer, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/gui.rs:388:56 [INFO] [stderr] | [INFO] [stderr] 388 | g_signal_connect(smart_id_entry as gpointer, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/gui.rs:391:61 [INFO] [stderr] | [INFO] [stderr] 391 | mem::transmute::<&Gui, gpointer>(self)); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `g_signal_connect` in this scope [INFO] [stderr] --> src/gui.rs:427:17 [INFO] [stderr] | [INFO] [stderr] 427 | g_signal_connect(self.toggle_button as gpointer, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/gui.rs:427:56 [INFO] [stderr] | [INFO] [stderr] 427 | g_signal_connect(self.toggle_button as gpointer, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/gui.rs:430:57 [INFO] [stderr] | [INFO] [stderr] 430 | mem::transmute::<&Gui, gpointer>(self)); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `g_signal_connect` in this scope [INFO] [stderr] --> src/gui.rs:436:17 [INFO] [stderr] | [INFO] [stderr] 436 | g_signal_connect(self.skip_button as gpointer, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/gui.rs:436:54 [INFO] [stderr] | [INFO] [stderr] 436 | g_signal_connect(self.skip_button as gpointer, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/gui.rs:439:57 [INFO] [stderr] | [INFO] [stderr] 439 | mem::transmute::<&Gui, gpointer>(self)); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `g_source_new` in this scope [INFO] [stderr] --> src/gui.rs:455:32 [INFO] [stderr] | [INFO] [stderr] 455 | let g_source = g_source_new(&mut self.g_source_funcs as *mut GSourceFuncs, [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GSourceFuncs` in this scope [INFO] [stderr] --> src/gui.rs:455:78 [INFO] [stderr] | [INFO] [stderr] 455 | let g_source = g_source_new(&mut self.g_source_funcs as *mut GSourceFuncs, [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `guint` in this scope [INFO] [stderr] --> src/gui.rs:456:77 [INFO] [stderr] | [INFO] [stderr] 456 | mem::size_of::() as guint); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `g_main_context_default` in this scope [INFO] [stderr] --> src/gui.rs:471:31 [INFO] [stderr] | [INFO] [stderr] 471 | let context = g_main_context_default(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `g_source_attach` in this scope [INFO] [stderr] --> src/gui.rs:472:17 [INFO] [stderr] | [INFO] [stderr] 472 | g_source_attach(self.gui_g_source as *mut GSource, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GSource` in this scope [INFO] [stderr] --> src/gui.rs:472:59 [INFO] [stderr] | [INFO] [stderr] 472 | g_source_attach(self.gui_g_source as *mut GSource, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `g_source_destroy` in this scope [INFO] [stderr] --> src/gui.rs:490:21 [INFO] [stderr] | [INFO] [stderr] 490 | g_source_destroy(self.gui_g_source as *mut GSource); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GSource` in this scope [INFO] [stderr] --> src/gui.rs:490:64 [INFO] [stderr] | [INFO] [stderr] 490 | g_source_destroy(self.gui_g_source as *mut GSource); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `g_list_free` in this scope [INFO] [stderr] --> src/gui.rs:856:9 [INFO] [stderr] | [INFO] [stderr] 856 | g_list_free(l); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GSource` in this scope [INFO] [stderr] --> src/gui.rs:861:38 [INFO] [stderr] | [INFO] [stderr] 861 | unsafe fn get_gui_from_src(src: *mut GSource) -> &'static mut Gui { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GSource` in this scope [INFO] [stderr] --> src/gui.rs:866:47 [INFO] [stderr] | [INFO] [stderr] 866 | extern "C" fn prepare_gui_g_source(_src: *mut GSource, timeout: *mut gint) -> gboolean { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gint` in this scope [INFO] [stderr] --> src/gui.rs:866:70 [INFO] [stderr] | [INFO] [stderr] 866 | extern "C" fn prepare_gui_g_source(_src: *mut GSource, timeout: *mut gint) -> gboolean { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gboolean` in this scope [INFO] [stderr] --> src/gui.rs:866:79 [INFO] [stderr] | [INFO] [stderr] 866 | extern "C" fn prepare_gui_g_source(_src: *mut GSource, timeout: *mut gint) -> gboolean { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GSource` in this scope [INFO] [stderr] --> src/gui.rs:874:44 [INFO] [stderr] | [INFO] [stderr] 874 | extern "C" fn check_gui_g_source(src: *mut GSource) -> gboolean { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gboolean` in this scope [INFO] [stderr] --> src/gui.rs:874:56 [INFO] [stderr] | [INFO] [stderr] 874 | extern "C" fn check_gui_g_source(src: *mut GSource) -> gboolean { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GSource` in this scope [INFO] [stderr] --> src/gui.rs:879:47 [INFO] [stderr] | [INFO] [stderr] 879 | extern "C" fn dispatch_gui_g_source(src: *mut GSource, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GSourceFunc` in this scope [INFO] [stderr] --> src/gui.rs:880:20 [INFO] [stderr] | [INFO] [stderr] 880 | _callback: GSourceFunc, _user_data: gpointer) -> gboolean { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/gui.rs:880:45 [INFO] [stderr] | [INFO] [stderr] 880 | _callback: GSourceFunc, _user_data: gpointer) -> gboolean { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gboolean` in this scope [INFO] [stderr] --> src/gui.rs:880:58 [INFO] [stderr] | [INFO] [stderr] 880 | _callback: GSourceFunc, _user_data: gpointer) -> gboolean { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/gui.rs:889:74 [INFO] [stderr] | [INFO] [stderr] 889 | extern "C" fn close_button_pressed(_object: *const GtkWidget, user_data: gpointer) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/gui.rs:894:73 [INFO] [stderr] | [INFO] [stderr] 894 | extern "C" fn play_button_clicked(_button: *const GtkButton, user_data: gpointer) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/gui.rs:902:75 [INFO] [stderr] | [INFO] [stderr] 902 | extern "C" fn toggle_button_clicked(_button: *const GtkButton, user_data: gpointer) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/gui.rs:907:73 [INFO] [stderr] | [INFO] [stderr] 907 | extern "C" fn skip_button_clicked(_button: *const GtkButton, user_data: gpointer) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/gui.rs:912:73 [INFO] [stderr] | [INFO] [stderr] 912 | extern "C" fn smart_id_entry_activated(entry: *mut GtkEntry, user_data: gpointer) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `TimerGSourceCallback` in module `timerfd` [INFO] [stderr] --> src/player.rs:28:15 [INFO] [stderr] | [INFO] [stderr] 28 | impl timerfd::TimerGSourceCallback for ReportCallback { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in `timerfd` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Timer` in module `timerfd` [INFO] [stderr] --> src/player.rs:29:50 [INFO] [stderr] | [INFO] [stderr] 29 | fn callback(&mut self, _timer: &mut timerfd::Timer) -> bool { [INFO] [stderr] | ^^^^^ not found in `timerfd` [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `TimerGSourceCallback` in module `timerfd` [INFO] [stderr] --> src/player.rs:45:15 [INFO] [stderr] | [INFO] [stderr] 45 | impl timerfd::TimerGSourceCallback for ProgressCallback { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in `timerfd` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Timer` in module `timerfd` [INFO] [stderr] --> src/player.rs:46:50 [INFO] [stderr] | [INFO] [stderr] 46 | fn callback(&mut self, _timer: &mut timerfd::Timer) -> bool { [INFO] [stderr] | ^^^^^ not found in `timerfd` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GstElement` in this scope [INFO] [stderr] --> src/player.rs:65:19 [INFO] [stderr] | [INFO] [stderr] 65 | playbin: *mut GstElement, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TimerGSource` in module `timerfd` [INFO] [stderr] --> src/player.rs:67:35 [INFO] [stderr] | [INFO] [stderr] 67 | report_timer: Option, [INFO] [stderr] | ^^^^^^^^^^^^ not found in `timerfd` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TimerGSource` in module `timerfd` [INFO] [stderr] --> src/player.rs:68:37 [INFO] [stderr] | [INFO] [stderr] 68 | progress_timer: Option, [INFO] [stderr] | ^^^^^^^^^^^^ not found in `timerfd` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gst_init_with_args` in this scope [INFO] [stderr] --> src/player.rs:84:13 [INFO] [stderr] | [INFO] [stderr] 84 | gst_init_with_args(args) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `gtk_init_with_args` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gst_element_factory_make` in this scope [INFO] [stderr] --> src/player.rs:90:28 [INFO] [stderr] | [INFO] [stderr] 90 | self.playbin = gst_element_factory_make( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gst_pipeline_get_bus` in this scope [INFO] [stderr] --> src/player.rs:96:23 [INFO] [stderr] | [INFO] [stderr] 96 | let bus = gst_pipeline_get_bus(self.playbin as *mut GstPipeline); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GstPipeline` in this scope [INFO] [stderr] --> src/player.rs:96:65 [INFO] [stderr] | [INFO] [stderr] 96 | let bus = gst_pipeline_get_bus(self.playbin as *mut GstPipeline); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gst_bus_add_watch` in this scope [INFO] [stderr] --> src/player.rs:97:13 [INFO] [stderr] | [INFO] [stderr] 97 | gst_bus_add_watch(bus, Some(bus_callback), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/player.rs:98:86 [INFO] [stderr] | [INFO] [stderr] 98 | mem::transmute::<&mpsc::Sender, gpointer>( [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `g_object_set` in this scope [INFO] [stderr] --> src/player.rs:110:13 [INFO] [stderr] | [INFO] [stderr] 110 | g_object_set(self.playbin as gpointer, [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/player.rs:110:42 [INFO] [stderr] | [INFO] [stderr] 110 | g_object_set(self.playbin as gpointer, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gchar` in this scope [INFO] [stderr] --> src/player.rs:111:80 [INFO] [stderr] | [INFO] [stderr] 111 | literal_uri.as_ptr(), uri_c_str.as_ptr(), ptr::null::()); [INFO] [stderr] | ^^^^^ help: a primitive type with a similar name exists: `char` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gst_element_set_state` in this scope [INFO] [stderr] --> src/player.rs:127:13 [INFO] [stderr] | [INFO] [stderr] 127 | gst_element_set_state(self.playbin, GST_STATE_PLAYING); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `gtk_widget_set_state` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GST_STATE_PLAYING` in this scope [INFO] [stderr] --> src/player.rs:127:49 [INFO] [stderr] | [INFO] [stderr] 127 | gst_element_set_state(self.playbin, GST_STATE_PLAYING); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gst_element_set_state` in this scope [INFO] [stderr] --> src/player.rs:141:13 [INFO] [stderr] | [INFO] [stderr] 141 | gst_element_set_state(self.playbin, GST_STATE_PAUSED); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `gtk_widget_set_state` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GST_STATE_PAUSED` in this scope [INFO] [stderr] --> src/player.rs:141:49 [INFO] [stderr] | [INFO] [stderr] 141 | gst_element_set_state(self.playbin, GST_STATE_PAUSED); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `GTK_STATE_FOCUSED` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gst_element_set_state` in this scope [INFO] [stderr] --> src/player.rs:157:13 [INFO] [stderr] | [INFO] [stderr] 157 | gst_element_set_state(self.playbin, GST_STATE_READY); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `gtk_widget_set_state` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GST_STATE_READY` in this scope [INFO] [stderr] --> src/player.rs:157:49 [INFO] [stderr] | [INFO] [stderr] 157 | gst_element_set_state(self.playbin, GST_STATE_READY); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gst_element_set_state` in this scope [INFO] [stderr] --> src/player.rs:178:21 [INFO] [stderr] | [INFO] [stderr] 178 | gst_element_set_state(self.playbin, GST_STATE_PAUSED); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `gtk_widget_set_state` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GST_STATE_PAUSED` in this scope [INFO] [stderr] --> src/player.rs:178:57 [INFO] [stderr] | [INFO] [stderr] 178 | gst_element_set_state(self.playbin, GST_STATE_PAUSED); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `GTK_STATE_FOCUSED` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gst_element_set_state` in this scope [INFO] [stderr] --> src/player.rs:184:21 [INFO] [stderr] | [INFO] [stderr] 184 | gst_element_set_state(self.playbin, GST_STATE_PLAYING); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `gtk_widget_set_state` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GST_STATE_PLAYING` in this scope [INFO] [stderr] --> src/player.rs:184:57 [INFO] [stderr] | [INFO] [stderr] 184 | gst_element_set_state(self.playbin, GST_STATE_PLAYING); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `g_main_context_default` in this scope [INFO] [stderr] --> src/player.rs:199:32 [INFO] [stderr] | [INFO] [stderr] 199 | let context = unsafe { g_main_context_default() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `TimerGSourceCallback` in module `timerfd` [INFO] [stderr] --> src/player.rs:203:72 [INFO] [stderr] | [INFO] [stderr] 203 | let mut rt = timerfd::TimerGSource::new(rc as Box); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in `timerfd` [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `TimerGSourceCallback` in module `timerfd` [INFO] [stderr] --> src/player.rs:212:72 [INFO] [stderr] | [INFO] [stderr] 212 | let mut pt = timerfd::TimerGSource::new(pc as Box); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in `timerfd` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gst_element_query_position` in this scope [INFO] [stderr] --> src/player.rs:241:13 [INFO] [stderr] | [INFO] [stderr] 241 | gst_element_query_position( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GST_FORMAT_TIME` in this scope [INFO] [stderr] --> src/player.rs:242:31 [INFO] [stderr] | [INFO] [stderr] 242 | self.playbin, GST_FORMAT_TIME, &mut current_position) [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gst_element_query_duration` in this scope [INFO] [stderr] --> src/player.rs:246:13 [INFO] [stderr] | [INFO] [stderr] 246 | gst_element_query_duration( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GST_FORMAT_TIME` in this scope [INFO] [stderr] --> src/player.rs:247:31 [INFO] [stderr] | [INFO] [stderr] 247 | self.playbin, GST_FORMAT_TIME, &mut current_duration) [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gst_element_set_state` in this scope [INFO] [stderr] --> src/player.rs:263:21 [INFO] [stderr] | [INFO] [stderr] 263 | gst_element_set_state(self.playbin, GST_STATE_NULL); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `gtk_widget_set_state` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GST_STATE_NULL` in this scope [INFO] [stderr] --> src/player.rs:263:57 [INFO] [stderr] | [INFO] [stderr] 263 | gst_element_set_state(self.playbin, GST_STATE_NULL); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gst_object_unref` in this scope [INFO] [stderr] --> src/player.rs:264:21 [INFO] [stderr] | [INFO] [stderr] 264 | gst_object_unref(self.playbin as gpointer); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/player.rs:264:54 [INFO] [stderr] | [INFO] [stderr] 264 | gst_object_unref(self.playbin as gpointer); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gst_deinit` in this scope [INFO] [stderr] --> src/player.rs:266:17 [INFO] [stderr] | [INFO] [stderr] 266 | gst_deinit(); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GstBus` in this scope [INFO] [stderr] --> src/player.rs:272:39 [INFO] [stderr] | [INFO] [stderr] 272 | extern "C" fn bus_callback(_bus: *mut GstBus, msg: *mut GstMessage, data: gpointer) -> gboolean { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GstMessage` in this scope [INFO] [stderr] --> src/player.rs:272:57 [INFO] [stderr] | [INFO] [stderr] 272 | extern "C" fn bus_callback(_bus: *mut GstBus, msg: *mut GstMessage, data: gpointer) -> gboolean { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/player.rs:272:75 [INFO] [stderr] | [INFO] [stderr] 272 | extern "C" fn bus_callback(_bus: *mut GstBus, msg: *mut GstMessage, data: gpointer) -> gboolean { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gboolean` in this scope [INFO] [stderr] --> src/player.rs:272:88 [INFO] [stderr] | [INFO] [stderr] 272 | extern "C" fn bus_callback(_bus: *mut GstBus, msg: *mut GstMessage, data: gpointer) -> gboolean { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gst_object_get_name` in this scope [INFO] [stderr] --> src/player.rs:281:28 [INFO] [stderr] | [INFO] [stderr] 281 | let name_ptr = gst_object_get_name(gst_obj); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `g_free` in this scope [INFO] [stderr] --> src/player.rs:286:17 [INFO] [stderr] | [INFO] [stderr] 286 | g_free(name_ptr as gpointer); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/player.rs:286:36 [INFO] [stderr] | [INFO] [stderr] 286 | g_free(name_ptr as gpointer); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gst_message_parse_error` in this scope [INFO] [stderr] --> src/player.rs:297:13 [INFO] [stderr] | [INFO] [stderr] 297 | gst_message_parse_error(msg, &mut err, &mut dbg_info); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `g_error_free` in this scope [INFO] [stderr] --> src/player.rs:308:13 [INFO] [stderr] | [INFO] [stderr] 308 | g_error_free(err); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `g_free` in this scope [INFO] [stderr] --> src/player.rs:309:13 [INFO] [stderr] | [INFO] [stderr] 309 | g_free(dbg_info as gpointer); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/player.rs:309:32 [INFO] [stderr] | [INFO] [stderr] 309 | g_free(dbg_info as gpointer); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `log::WARN` [INFO] [stderr] --> src/player.rs:312:29 [INFO] [stderr] | [INFO] [stderr] 312 | if log_enabled!(log::WARN) { [INFO] [stderr] | ^^^^^^^^^ help: use `!` to invoke the macro: `log::WARN!` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gst_message_parse_error` in this scope [INFO] [stderr] --> src/player.rs:316:17 [INFO] [stderr] | [INFO] [stderr] 316 | gst_message_parse_error(msg, &mut err, &mut dbg_info); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `g_error_free` in this scope [INFO] [stderr] --> src/player.rs:324:17 [INFO] [stderr] | [INFO] [stderr] 324 | g_error_free(err); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `g_free` in this scope [INFO] [stderr] --> src/player.rs:325:17 [INFO] [stderr] | [INFO] [stderr] 325 | g_free(dbg_info as gpointer); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/player.rs:325:36 [INFO] [stderr] | [INFO] [stderr] 325 | g_free(dbg_info as gpointer); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `log::INFO` [INFO] [stderr] --> src/player.rs:329:29 [INFO] [stderr] | [INFO] [stderr] 329 | if log_enabled!(log::INFO) { [INFO] [stderr] | ^^^^^^^^^ help: use `!` to invoke the macro: `log::INFO!` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gst_message_parse_error` in this scope [INFO] [stderr] --> src/player.rs:333:17 [INFO] [stderr] | [INFO] [stderr] 333 | gst_message_parse_error(msg, &mut err, &mut dbg_info); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `g_error_free` in this scope [INFO] [stderr] --> src/player.rs:341:17 [INFO] [stderr] | [INFO] [stderr] 341 | g_error_free(err); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `g_free` in this scope [INFO] [stderr] --> src/player.rs:342:17 [INFO] [stderr] | [INFO] [stderr] 342 | g_free(dbg_info as gpointer); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/player.rs:342:36 [INFO] [stderr] | [INFO] [stderr] 342 | g_free(dbg_info as gpointer); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gst_message_parse_state_changed` in this scope [INFO] [stderr] --> src/player.rs:352:17 [INFO] [stderr] | [INFO] [stderr] 352 | gst_message_parse_state_changed(msg, ptr::null_mut(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `log::DEBUG` [INFO] [stderr] --> src/player.rs:354:33 [INFO] [stderr] | [INFO] [stderr] 354 | if log_enabled!(log::DEBUG) { [INFO] [stderr] | ^^^^^^^^^^ help: use `!` to invoke the macro: `log::DEBUG!` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gst_element_state_get_name` in this scope [INFO] [stderr] --> src/player.rs:355:42 [INFO] [stderr] | [INFO] [stderr] 355 | let new_state_name = gst_element_state_get_name(new_state); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gst_message_parse_buffering` in this scope [INFO] [stderr] --> src/player.rs:374:13 [INFO] [stderr] | [INFO] [stderr] 374 | gst_message_parse_buffering(msg, &mut percent); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `log::DEBUG` [INFO] [stderr] --> src/player.rs:379:29 [INFO] [stderr] | [INFO] [stderr] 379 | if log_enabled!(log::DEBUG) { [INFO] [stderr] | ^^^^^^^^^^ help: use `!` to invoke the macro: `log::DEBUG!` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gst_message_type_get_name` in this scope [INFO] [stderr] --> src/player.rs:380:37 [INFO] [stderr] | [INFO] [stderr] 380 | let msg_type_cstr = gst_message_type_get_name((*msg)._type); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `gtk_message_type_get_type` [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Header` in module `header` [INFO] [stderr] --> src/webinterface.rs:17:14 [INFO] [stderr] | [INFO] [stderr] 17 | impl header::Header for ApiVersionHeader { [INFO] [stderr] | ^^^^^^ not found in `header` [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `HeaderFormat` in module `header` [INFO] [stderr] --> src/webinterface.rs:25:14 [INFO] [stderr] | [INFO] [stderr] 25 | impl header::HeaderFormat for ApiVersionHeader { [INFO] [stderr] | ^^^^^^^^^^^^ not found in `header` [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Header` in module `header` [INFO] [stderr] --> src/webinterface.rs:34:14 [INFO] [stderr] | [INFO] [stderr] 34 | impl header::Header for ApiKeyHeader { [INFO] [stderr] | ^^^^^^ not found in `header` [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `HeaderFormat` in module `header` [INFO] [stderr] --> src/webinterface.rs:42:14 [INFO] [stderr] | [INFO] [stderr] 42 | impl header::HeaderFormat for ApiKeyHeader { [INFO] [stderr] | ^^^^^^^^^^^^ not found in `header` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HttpResult` in module `hyper` [INFO] [stderr] --> src/webinterface.rs:78:49 [INFO] [stderr] | [INFO] [stderr] 78 | pub fn get_data_from_url_str(s: &str) -> hyper::HttpResult> { [INFO] [stderr] | ^^^^^^^^^^ not found in `hyper` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HttpResult` in module `hyper` [INFO] [stderr] --> src/webinterface.rs:83:45 [INFO] [stderr] | [INFO] [stderr] 83 | fn get_data_from_url(u: url::Url) -> hyper::HttpResult> { [INFO] [stderr] | ^^^^^^^^^^ not found in `hyper` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HttpResult` in module `hyper` [INFO] [stderr] --> src/webinterface.rs:97:45 [INFO] [stderr] | [INFO] [stderr] 97 | fn get_json_from_url(u: url::Url) -> hyper::HttpResult { [INFO] [stderr] | ^^^^^^^^^^ not found in `hyper` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HttpResult` in module `hyper` [INFO] [stderr] --> src/webinterface.rs:104:46 [INFO] [stderr] | [INFO] [stderr] 104 | pub fn get_mix_set(smart_id: &str) -> hyper::HttpResult { [INFO] [stderr] | ^^^^^^^^^^ not found in `hyper` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HttpResult` in module `hyper` [INFO] [stderr] --> src/webinterface.rs:108:35 [INFO] [stderr] | [INFO] [stderr] 108 | pub fn get_play_token() -> hyper::HttpResult { [INFO] [stderr] | ^^^^^^^^^^ not found in `hyper` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HttpResult` in module `hyper` [INFO] [stderr] --> src/webinterface.rs:112:70 [INFO] [stderr] | [INFO] [stderr] 112 | pub fn get_play_state(pt: &api::PlayToken, mix: &api::Mix) -> hyper::HttpResult { [INFO] [stderr] | ^^^^^^^^^^ not found in `hyper` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HttpResult` in module `hyper` [INFO] [stderr] --> src/webinterface.rs:116:70 [INFO] [stderr] | [INFO] [stderr] 116 | pub fn get_next_track(pt: &api::PlayToken, mix: &api::Mix) -> hyper::HttpResult { [INFO] [stderr] | ^^^^^^^^^^ not found in `hyper` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HttpResult` in module `hyper` [INFO] [stderr] --> src/webinterface.rs:120:70 [INFO] [stderr] | [INFO] [stderr] 120 | pub fn get_skip_track(pt: &api::PlayToken, mix: &api::Mix) -> hyper::HttpResult { [INFO] [stderr] | ^^^^^^^^^^ not found in `hyper` [INFO] [stderr] [INFO] [stderr] error[E0603]: extern crate `ffi` is private [INFO] [stderr] --> src/gui.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | use gtk::ffi::*; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0603]: extern crate `ffi` is private [INFO] [stderr] --> src/player.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | use gtk::ffi::*; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `gtk::ffi::*` [INFO] [stderr] --> src/player.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use gtk::ffi::*; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] error[E0107]: wrong number of type arguments: expected 0, found 1 [INFO] [stderr] --> src/player.rs:63:28 [INFO] [stderr] | [INFO] [stderr] 63 | gui_sender: Option>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unexpected type argument [INFO] [stderr] [INFO] [stderr] error: aborting due to 143 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0107, E0405, E0412, E0422, E0423, E0425, E0433, E0603, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0107`. [INFO] [stderr] error: Could not compile `rusttracks`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0412]: cannot find type `GdkPixbuf` in this scope [INFO] [stderr] --> src/gui.rs:23:30 [INFO] [stderr] | [INFO] [stderr] 23 | fn get_icon_pixbuf() -> *mut GdkPixbuf { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GdkPixbuf` in this scope [INFO] [stderr] --> src/gui.rs:27:50 [INFO] [stderr] | [INFO] [stderr] 27 | fn get_pixbuf_from_data(pic_data: &[u8]) -> *mut GdkPixbuf { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `g_memory_input_stream_new_from_data` in this scope [INFO] [stderr] --> src/gui.rs:31:22 [INFO] [stderr] | [INFO] [stderr] 31 | let stream = g_memory_input_stream_new_from_data( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gdk_pixbuf_new_from_stream` in this scope [INFO] [stderr] --> src/gui.rs:34:22 [INFO] [stderr] | [INFO] [stderr] 34 | let pixbuf = gdk_pixbuf_new_from_stream(stream, ptr::null_mut(), &mut err); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `g_input_stream_close` in this scope [INFO] [stderr] --> src/gui.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | g_input_stream_close(stream, ptr::null_mut(), &mut err); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GSource` in this scope [INFO] [stderr] --> src/gui.rs:51:16 [INFO] [stderr] | [INFO] [stderr] 51 | _g_source: GSource, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GdkPixbuf` in this scope [INFO] [stderr] --> src/gui.rs:89:42 [INFO] [stderr] | [INFO] [stderr] 89 | fn set_image(&mut self, pixbuf: *mut GdkPixbuf) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gdk_pixbuf_scale_simple` in this scope [INFO] [stderr] --> src/gui.rs:98:27 [INFO] [stderr] | [INFO] [stderr] 98 | let pixbuf2 = gdk_pixbuf_scale_simple(&*pixbuf1, self.size, self.size, GDK_INTERP_BILINEAR); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GDK_INTERP_BILINEAR` in this scope [INFO] [stderr] --> src/gui.rs:98:84 [INFO] [stderr] | [INFO] [stderr] 98 | let pixbuf2 = gdk_pixbuf_scale_simple(&*pixbuf1, self.size, self.size, GDK_INTERP_BILINEAR); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gdk_pixbuf_unref` in this scope [INFO] [stderr] --> src/gui.rs:99:13 [INFO] [stderr] | [INFO] [stderr] 99 | gdk_pixbuf_unref(pixbuf1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gdk_pixbuf_unref` in this scope [INFO] [stderr] --> src/gui.rs:101:13 [INFO] [stderr] | [INFO] [stderr] 101 | gdk_pixbuf_unref(pixbuf2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PANGO_WRAP_WORD_CHAR` in this scope [INFO] [stderr] --> src/gui.rs:128:66 [INFO] [stderr] | [INFO] [stderr] 128 | gtk_label_set_line_wrap_mode(label as *mut GtkLabel, PANGO_WRAP_WORD_CHAR); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `GTK_WRAP_WORD_CHAR` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `g_signal_connect` in this scope [INFO] [stderr] --> src/gui.rs:145:17 [INFO] [stderr] | [INFO] [stderr] 145 | g_signal_connect(button as gpointer, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/gui.rs:145:44 [INFO] [stderr] | [INFO] [stderr] 145 | g_signal_connect(button as gpointer, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/gui.rs:148:71 [INFO] [stderr] | [INFO] [stderr] 148 | mem::transmute::<&(*mut Gui, usize), gpointer>(mix_table_entry)); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `guint` in this scope [INFO] [stderr] --> src/gui.rs:184:27 [INFO] [stderr] | [INFO] [stderr] 184 | status_bar_ci: Option, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GSourceFuncs` in this scope [INFO] [stderr] --> src/gui.rs:200:21 [INFO] [stderr] | [INFO] [stderr] 200 | g_source_funcs: GSourceFuncs, [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `g_source_unref` in this scope [INFO] [stderr] --> src/gui.rs:214:17 [INFO] [stderr] | [INFO] [stderr] 214 | g_source_unref(self.gui_g_source as *mut GSource); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GSource` in this scope [INFO] [stderr] --> src/gui.rs:214:58 [INFO] [stderr] | [INFO] [stderr] 214 | g_source_unref(self.gui_g_source as *mut GSource); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Struct__GSourceFuncs` in this scope [INFO] [stderr] --> src/gui.rs:251:29 [INFO] [stderr] | [INFO] [stderr] 251 | g_source_funcs: Struct__GSourceFuncs { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gtk_init_with_args_2` in this scope [INFO] [stderr] --> src/gui.rs:329:25 [INFO] [stderr] | [INFO] [stderr] 329 | args2 = gtk_init_with_args_2(args.clone()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `gtk_init_with_args` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `g_signal_connect` in this scope [INFO] [stderr] --> src/gui.rs:333:17 [INFO] [stderr] | [INFO] [stderr] 333 | g_signal_connect(self.main_window as gpointer, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/gui.rs:333:54 [INFO] [stderr] | [INFO] [stderr] 333 | g_signal_connect(self.main_window as gpointer, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/gui.rs:336:57 [INFO] [stderr] | [INFO] [stderr] 336 | mem::transmute::<&Gui, gpointer>(self)); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gdk_pixbuf_unref` in this scope [INFO] [stderr] --> src/gui.rs:339:17 [INFO] [stderr] | [INFO] [stderr] 339 | gdk_pixbuf_unref(icon); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `g_signal_connect` in this scope [INFO] [stderr] --> src/gui.rs:388:21 [INFO] [stderr] | [INFO] [stderr] 388 | g_signal_connect(smart_id_entry as gpointer, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/gui.rs:388:56 [INFO] [stderr] | [INFO] [stderr] 388 | g_signal_connect(smart_id_entry as gpointer, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/gui.rs:391:61 [INFO] [stderr] | [INFO] [stderr] 391 | mem::transmute::<&Gui, gpointer>(self)); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `g_signal_connect` in this scope [INFO] [stderr] --> src/gui.rs:427:17 [INFO] [stderr] | [INFO] [stderr] 427 | g_signal_connect(self.toggle_button as gpointer, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/gui.rs:427:56 [INFO] [stderr] | [INFO] [stderr] 427 | g_signal_connect(self.toggle_button as gpointer, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/gui.rs:430:57 [INFO] [stderr] | [INFO] [stderr] 430 | mem::transmute::<&Gui, gpointer>(self)); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `g_signal_connect` in this scope [INFO] [stderr] --> src/gui.rs:436:17 [INFO] [stderr] | [INFO] [stderr] 436 | g_signal_connect(self.skip_button as gpointer, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/gui.rs:436:54 [INFO] [stderr] | [INFO] [stderr] 436 | g_signal_connect(self.skip_button as gpointer, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/gui.rs:439:57 [INFO] [stderr] | [INFO] [stderr] 439 | mem::transmute::<&Gui, gpointer>(self)); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `g_source_new` in this scope [INFO] [stderr] --> src/gui.rs:455:32 [INFO] [stderr] | [INFO] [stderr] 455 | let g_source = g_source_new(&mut self.g_source_funcs as *mut GSourceFuncs, [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GSourceFuncs` in this scope [INFO] [stderr] --> src/gui.rs:455:78 [INFO] [stderr] | [INFO] [stderr] 455 | let g_source = g_source_new(&mut self.g_source_funcs as *mut GSourceFuncs, [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `guint` in this scope [INFO] [stderr] --> src/gui.rs:456:77 [INFO] [stderr] | [INFO] [stderr] 456 | mem::size_of::() as guint); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `g_main_context_default` in this scope [INFO] [stderr] --> src/gui.rs:471:31 [INFO] [stderr] | [INFO] [stderr] 471 | let context = g_main_context_default(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `g_source_attach` in this scope [INFO] [stderr] --> src/gui.rs:472:17 [INFO] [stderr] | [INFO] [stderr] 472 | g_source_attach(self.gui_g_source as *mut GSource, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GSource` in this scope [INFO] [stderr] --> src/gui.rs:472:59 [INFO] [stderr] | [INFO] [stderr] 472 | g_source_attach(self.gui_g_source as *mut GSource, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `g_source_destroy` in this scope [INFO] [stderr] --> src/gui.rs:490:21 [INFO] [stderr] | [INFO] [stderr] 490 | g_source_destroy(self.gui_g_source as *mut GSource); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GSource` in this scope [INFO] [stderr] --> src/gui.rs:490:64 [INFO] [stderr] | [INFO] [stderr] 490 | g_source_destroy(self.gui_g_source as *mut GSource); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `g_list_free` in this scope [INFO] [stderr] --> src/gui.rs:856:9 [INFO] [stderr] | [INFO] [stderr] 856 | g_list_free(l); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GSource` in this scope [INFO] [stderr] --> src/gui.rs:861:38 [INFO] [stderr] | [INFO] [stderr] 861 | unsafe fn get_gui_from_src(src: *mut GSource) -> &'static mut Gui { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GSource` in this scope [INFO] [stderr] --> src/gui.rs:866:47 [INFO] [stderr] | [INFO] [stderr] 866 | extern "C" fn prepare_gui_g_source(_src: *mut GSource, timeout: *mut gint) -> gboolean { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gint` in this scope [INFO] [stderr] --> src/gui.rs:866:70 [INFO] [stderr] | [INFO] [stderr] 866 | extern "C" fn prepare_gui_g_source(_src: *mut GSource, timeout: *mut gint) -> gboolean { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gboolean` in this scope [INFO] [stderr] --> src/gui.rs:866:79 [INFO] [stderr] | [INFO] [stderr] 866 | extern "C" fn prepare_gui_g_source(_src: *mut GSource, timeout: *mut gint) -> gboolean { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GSource` in this scope [INFO] [stderr] --> src/gui.rs:874:44 [INFO] [stderr] | [INFO] [stderr] 874 | extern "C" fn check_gui_g_source(src: *mut GSource) -> gboolean { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gboolean` in this scope [INFO] [stderr] --> src/gui.rs:874:56 [INFO] [stderr] | [INFO] [stderr] 874 | extern "C" fn check_gui_g_source(src: *mut GSource) -> gboolean { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GSource` in this scope [INFO] [stderr] --> src/gui.rs:879:47 [INFO] [stderr] | [INFO] [stderr] 879 | extern "C" fn dispatch_gui_g_source(src: *mut GSource, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GSourceFunc` in this scope [INFO] [stderr] --> src/gui.rs:880:20 [INFO] [stderr] | [INFO] [stderr] 880 | _callback: GSourceFunc, _user_data: gpointer) -> gboolean { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/gui.rs:880:45 [INFO] [stderr] | [INFO] [stderr] 880 | _callback: GSourceFunc, _user_data: gpointer) -> gboolean { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gboolean` in this scope [INFO] [stderr] --> src/gui.rs:880:58 [INFO] [stderr] | [INFO] [stderr] 880 | _callback: GSourceFunc, _user_data: gpointer) -> gboolean { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/gui.rs:889:74 [INFO] [stderr] | [INFO] [stderr] 889 | extern "C" fn close_button_pressed(_object: *const GtkWidget, user_data: gpointer) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/gui.rs:894:73 [INFO] [stderr] | [INFO] [stderr] 894 | extern "C" fn play_button_clicked(_button: *const GtkButton, user_data: gpointer) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/gui.rs:902:75 [INFO] [stderr] | [INFO] [stderr] 902 | extern "C" fn toggle_button_clicked(_button: *const GtkButton, user_data: gpointer) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/gui.rs:907:73 [INFO] [stderr] | [INFO] [stderr] 907 | extern "C" fn skip_button_clicked(_button: *const GtkButton, user_data: gpointer) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/gui.rs:912:73 [INFO] [stderr] | [INFO] [stderr] 912 | extern "C" fn smart_id_entry_activated(entry: *mut GtkEntry, user_data: gpointer) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `TimerGSourceCallback` in module `timerfd` [INFO] [stderr] --> src/player.rs:28:15 [INFO] [stderr] | [INFO] [stderr] 28 | impl timerfd::TimerGSourceCallback for ReportCallback { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in `timerfd` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Timer` in module `timerfd` [INFO] [stderr] --> src/player.rs:29:50 [INFO] [stderr] | [INFO] [stderr] 29 | fn callback(&mut self, _timer: &mut timerfd::Timer) -> bool { [INFO] [stderr] | ^^^^^ not found in `timerfd` [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `TimerGSourceCallback` in module `timerfd` [INFO] [stderr] --> src/player.rs:45:15 [INFO] [stderr] | [INFO] [stderr] 45 | impl timerfd::TimerGSourceCallback for ProgressCallback { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in `timerfd` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Timer` in module `timerfd` [INFO] [stderr] --> src/player.rs:46:50 [INFO] [stderr] | [INFO] [stderr] 46 | fn callback(&mut self, _timer: &mut timerfd::Timer) -> bool { [INFO] [stderr] | ^^^^^ not found in `timerfd` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GstElement` in this scope [INFO] [stderr] --> src/player.rs:65:19 [INFO] [stderr] | [INFO] [stderr] 65 | playbin: *mut GstElement, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TimerGSource` in module `timerfd` [INFO] [stderr] --> src/player.rs:67:35 [INFO] [stderr] | [INFO] [stderr] 67 | report_timer: Option, [INFO] [stderr] | ^^^^^^^^^^^^ not found in `timerfd` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TimerGSource` in module `timerfd` [INFO] [stderr] --> src/player.rs:68:37 [INFO] [stderr] | [INFO] [stderr] 68 | progress_timer: Option, [INFO] [stderr] | ^^^^^^^^^^^^ not found in `timerfd` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gst_init_with_args` in this scope [INFO] [stderr] --> src/player.rs:84:13 [INFO] [stderr] | [INFO] [stderr] 84 | gst_init_with_args(args) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `gtk_init_with_args` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gst_element_factory_make` in this scope [INFO] [stderr] --> src/player.rs:90:28 [INFO] [stderr] | [INFO] [stderr] 90 | self.playbin = gst_element_factory_make( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gst_pipeline_get_bus` in this scope [INFO] [stderr] --> src/player.rs:96:23 [INFO] [stderr] | [INFO] [stderr] 96 | let bus = gst_pipeline_get_bus(self.playbin as *mut GstPipeline); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GstPipeline` in this scope [INFO] [stderr] --> src/player.rs:96:65 [INFO] [stderr] | [INFO] [stderr] 96 | let bus = gst_pipeline_get_bus(self.playbin as *mut GstPipeline); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gst_bus_add_watch` in this scope [INFO] [stderr] --> src/player.rs:97:13 [INFO] [stderr] | [INFO] [stderr] 97 | gst_bus_add_watch(bus, Some(bus_callback), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/player.rs:98:86 [INFO] [stderr] | [INFO] [stderr] 98 | mem::transmute::<&mpsc::Sender, gpointer>( [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `g_object_set` in this scope [INFO] [stderr] --> src/player.rs:110:13 [INFO] [stderr] | [INFO] [stderr] 110 | g_object_set(self.playbin as gpointer, [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/player.rs:110:42 [INFO] [stderr] | [INFO] [stderr] 110 | g_object_set(self.playbin as gpointer, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gchar` in this scope [INFO] [stderr] --> src/player.rs:111:80 [INFO] [stderr] | [INFO] [stderr] 111 | literal_uri.as_ptr(), uri_c_str.as_ptr(), ptr::null::()); [INFO] [stderr] | ^^^^^ help: a primitive type with a similar name exists: `char` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gst_element_set_state` in this scope [INFO] [stderr] --> src/player.rs:127:13 [INFO] [stderr] | [INFO] [stderr] 127 | gst_element_set_state(self.playbin, GST_STATE_PLAYING); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `gtk_widget_set_state` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GST_STATE_PLAYING` in this scope [INFO] [stderr] --> src/player.rs:127:49 [INFO] [stderr] | [INFO] [stderr] 127 | gst_element_set_state(self.playbin, GST_STATE_PLAYING); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gst_element_set_state` in this scope [INFO] [stderr] --> src/player.rs:141:13 [INFO] [stderr] | [INFO] [stderr] 141 | gst_element_set_state(self.playbin, GST_STATE_PAUSED); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `gtk_widget_set_state` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GST_STATE_PAUSED` in this scope [INFO] [stderr] --> src/player.rs:141:49 [INFO] [stderr] | [INFO] [stderr] 141 | gst_element_set_state(self.playbin, GST_STATE_PAUSED); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `GTK_STATE_FOCUSED` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gst_element_set_state` in this scope [INFO] [stderr] --> src/player.rs:157:13 [INFO] [stderr] | [INFO] [stderr] 157 | gst_element_set_state(self.playbin, GST_STATE_READY); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `gtk_widget_set_state` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GST_STATE_READY` in this scope [INFO] [stderr] --> src/player.rs:157:49 [INFO] [stderr] | [INFO] [stderr] 157 | gst_element_set_state(self.playbin, GST_STATE_READY); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gst_element_set_state` in this scope [INFO] [stderr] --> src/player.rs:178:21 [INFO] [stderr] | [INFO] [stderr] 178 | gst_element_set_state(self.playbin, GST_STATE_PAUSED); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `gtk_widget_set_state` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GST_STATE_PAUSED` in this scope [INFO] [stderr] --> src/player.rs:178:57 [INFO] [stderr] | [INFO] [stderr] 178 | gst_element_set_state(self.playbin, GST_STATE_PAUSED); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `GTK_STATE_FOCUSED` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gst_element_set_state` in this scope [INFO] [stderr] --> src/player.rs:184:21 [INFO] [stderr] | [INFO] [stderr] 184 | gst_element_set_state(self.playbin, GST_STATE_PLAYING); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `gtk_widget_set_state` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GST_STATE_PLAYING` in this scope [INFO] [stderr] --> src/player.rs:184:57 [INFO] [stderr] | [INFO] [stderr] 184 | gst_element_set_state(self.playbin, GST_STATE_PLAYING); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `g_main_context_default` in this scope [INFO] [stderr] --> src/player.rs:199:32 [INFO] [stderr] | [INFO] [stderr] 199 | let context = unsafe { g_main_context_default() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `TimerGSourceCallback` in module `timerfd` [INFO] [stderr] --> src/player.rs:203:72 [INFO] [stderr] | [INFO] [stderr] 203 | let mut rt = timerfd::TimerGSource::new(rc as Box); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in `timerfd` [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `TimerGSourceCallback` in module `timerfd` [INFO] [stderr] --> src/player.rs:212:72 [INFO] [stderr] | [INFO] [stderr] 212 | let mut pt = timerfd::TimerGSource::new(pc as Box); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in `timerfd` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gst_element_query_position` in this scope [INFO] [stderr] --> src/player.rs:241:13 [INFO] [stderr] | [INFO] [stderr] 241 | gst_element_query_position( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GST_FORMAT_TIME` in this scope [INFO] [stderr] --> src/player.rs:242:31 [INFO] [stderr] | [INFO] [stderr] 242 | self.playbin, GST_FORMAT_TIME, &mut current_position) [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gst_element_query_duration` in this scope [INFO] [stderr] --> src/player.rs:246:13 [INFO] [stderr] | [INFO] [stderr] 246 | gst_element_query_duration( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GST_FORMAT_TIME` in this scope [INFO] [stderr] --> src/player.rs:247:31 [INFO] [stderr] | [INFO] [stderr] 247 | self.playbin, GST_FORMAT_TIME, &mut current_duration) [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gst_element_set_state` in this scope [INFO] [stderr] --> src/player.rs:263:21 [INFO] [stderr] | [INFO] [stderr] 263 | gst_element_set_state(self.playbin, GST_STATE_NULL); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `gtk_widget_set_state` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GST_STATE_NULL` in this scope [INFO] [stderr] --> src/player.rs:263:57 [INFO] [stderr] | [INFO] [stderr] 263 | gst_element_set_state(self.playbin, GST_STATE_NULL); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gst_object_unref` in this scope [INFO] [stderr] --> src/player.rs:264:21 [INFO] [stderr] | [INFO] [stderr] 264 | gst_object_unref(self.playbin as gpointer); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/player.rs:264:54 [INFO] [stderr] | [INFO] [stderr] 264 | gst_object_unref(self.playbin as gpointer); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gst_deinit` in this scope [INFO] [stderr] --> src/player.rs:266:17 [INFO] [stderr] | [INFO] [stderr] 266 | gst_deinit(); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GstBus` in this scope [INFO] [stderr] --> src/player.rs:272:39 [INFO] [stderr] | [INFO] [stderr] 272 | extern "C" fn bus_callback(_bus: *mut GstBus, msg: *mut GstMessage, data: gpointer) -> gboolean { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GstMessage` in this scope [INFO] [stderr] --> src/player.rs:272:57 [INFO] [stderr] | [INFO] [stderr] 272 | extern "C" fn bus_callback(_bus: *mut GstBus, msg: *mut GstMessage, data: gpointer) -> gboolean { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/player.rs:272:75 [INFO] [stderr] | [INFO] [stderr] 272 | extern "C" fn bus_callback(_bus: *mut GstBus, msg: *mut GstMessage, data: gpointer) -> gboolean { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gboolean` in this scope [INFO] [stderr] --> src/player.rs:272:88 [INFO] [stderr] | [INFO] [stderr] 272 | extern "C" fn bus_callback(_bus: *mut GstBus, msg: *mut GstMessage, data: gpointer) -> gboolean { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gst_object_get_name` in this scope [INFO] [stderr] --> src/player.rs:281:28 [INFO] [stderr] | [INFO] [stderr] 281 | let name_ptr = gst_object_get_name(gst_obj); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `g_free` in this scope [INFO] [stderr] --> src/player.rs:286:17 [INFO] [stderr] | [INFO] [stderr] 286 | g_free(name_ptr as gpointer); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/player.rs:286:36 [INFO] [stderr] | [INFO] [stderr] 286 | g_free(name_ptr as gpointer); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gst_message_parse_error` in this scope [INFO] [stderr] --> src/player.rs:297:13 [INFO] [stderr] | [INFO] [stderr] 297 | gst_message_parse_error(msg, &mut err, &mut dbg_info); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `g_error_free` in this scope [INFO] [stderr] --> src/player.rs:308:13 [INFO] [stderr] | [INFO] [stderr] 308 | g_error_free(err); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `g_free` in this scope [INFO] [stderr] --> src/player.rs:309:13 [INFO] [stderr] | [INFO] [stderr] 309 | g_free(dbg_info as gpointer); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/player.rs:309:32 [INFO] [stderr] | [INFO] [stderr] 309 | g_free(dbg_info as gpointer); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `log::WARN` [INFO] [stderr] --> src/player.rs:312:29 [INFO] [stderr] | [INFO] [stderr] 312 | if log_enabled!(log::WARN) { [INFO] [stderr] | ^^^^^^^^^ help: use `!` to invoke the macro: `log::WARN!` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gst_message_parse_error` in this scope [INFO] [stderr] --> src/player.rs:316:17 [INFO] [stderr] | [INFO] [stderr] 316 | gst_message_parse_error(msg, &mut err, &mut dbg_info); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `g_error_free` in this scope [INFO] [stderr] --> src/player.rs:324:17 [INFO] [stderr] | [INFO] [stderr] 324 | g_error_free(err); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `g_free` in this scope [INFO] [stderr] --> src/player.rs:325:17 [INFO] [stderr] | [INFO] [stderr] 325 | g_free(dbg_info as gpointer); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/player.rs:325:36 [INFO] [stderr] | [INFO] [stderr] 325 | g_free(dbg_info as gpointer); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `log::INFO` [INFO] [stderr] --> src/player.rs:329:29 [INFO] [stderr] | [INFO] [stderr] 329 | if log_enabled!(log::INFO) { [INFO] [stderr] | ^^^^^^^^^ help: use `!` to invoke the macro: `log::INFO!` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gst_message_parse_error` in this scope [INFO] [stderr] --> src/player.rs:333:17 [INFO] [stderr] | [INFO] [stderr] 333 | gst_message_parse_error(msg, &mut err, &mut dbg_info); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `g_error_free` in this scope [INFO] [stderr] --> src/player.rs:341:17 [INFO] [stderr] | [INFO] [stderr] 341 | g_error_free(err); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `g_free` in this scope [INFO] [stderr] --> src/player.rs:342:17 [INFO] [stderr] | [INFO] [stderr] 342 | g_free(dbg_info as gpointer); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `gpointer` in this scope [INFO] [stderr] --> src/player.rs:342:36 [INFO] [stderr] | [INFO] [stderr] 342 | g_free(dbg_info as gpointer); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gst_message_parse_state_changed` in this scope [INFO] [stderr] --> src/player.rs:352:17 [INFO] [stderr] | [INFO] [stderr] 352 | gst_message_parse_state_changed(msg, ptr::null_mut(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `log::DEBUG` [INFO] [stderr] --> src/player.rs:354:33 [INFO] [stderr] | [INFO] [stderr] 354 | if log_enabled!(log::DEBUG) { [INFO] [stderr] | ^^^^^^^^^^ help: use `!` to invoke the macro: `log::DEBUG!` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gst_element_state_get_name` in this scope [INFO] [stderr] --> src/player.rs:355:42 [INFO] [stderr] | [INFO] [stderr] 355 | let new_state_name = gst_element_state_get_name(new_state); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gst_message_parse_buffering` in this scope [INFO] [stderr] --> src/player.rs:374:13 [INFO] [stderr] | [INFO] [stderr] 374 | gst_message_parse_buffering(msg, &mut percent); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `log::DEBUG` [INFO] [stderr] --> src/player.rs:379:29 [INFO] [stderr] | [INFO] [stderr] 379 | if log_enabled!(log::DEBUG) { [INFO] [stderr] | ^^^^^^^^^^ help: use `!` to invoke the macro: `log::DEBUG!` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `gst_message_type_get_name` in this scope [INFO] [stderr] --> src/player.rs:380:37 [INFO] [stderr] | [INFO] [stderr] 380 | let msg_type_cstr = gst_message_type_get_name((*msg)._type); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `gtk_message_type_get_type` [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Header` in module `header` [INFO] [stderr] --> src/webinterface.rs:17:14 [INFO] [stderr] | [INFO] [stderr] 17 | impl header::Header for ApiVersionHeader { [INFO] [stderr] | ^^^^^^ not found in `header` [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `HeaderFormat` in module `header` [INFO] [stderr] --> src/webinterface.rs:25:14 [INFO] [stderr] | [INFO] [stderr] 25 | impl header::HeaderFormat for ApiVersionHeader { [INFO] [stderr] | ^^^^^^^^^^^^ not found in `header` [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Header` in module `header` [INFO] [stderr] --> src/webinterface.rs:34:14 [INFO] [stderr] | [INFO] [stderr] 34 | impl header::Header for ApiKeyHeader { [INFO] [stderr] | ^^^^^^ not found in `header` [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `HeaderFormat` in module `header` [INFO] [stderr] --> src/webinterface.rs:42:14 [INFO] [stderr] | [INFO] [stderr] 42 | impl header::HeaderFormat for ApiKeyHeader { [INFO] [stderr] | ^^^^^^^^^^^^ not found in `header` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HttpResult` in module `hyper` [INFO] [stderr] --> src/webinterface.rs:78:49 [INFO] [stderr] | [INFO] [stderr] 78 | pub fn get_data_from_url_str(s: &str) -> hyper::HttpResult> { [INFO] [stderr] | ^^^^^^^^^^ not found in `hyper` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HttpResult` in module `hyper` [INFO] [stderr] --> src/webinterface.rs:83:45 [INFO] [stderr] | [INFO] [stderr] 83 | fn get_data_from_url(u: url::Url) -> hyper::HttpResult> { [INFO] [stderr] | ^^^^^^^^^^ not found in `hyper` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HttpResult` in module `hyper` [INFO] [stderr] --> src/webinterface.rs:97:45 [INFO] [stderr] | [INFO] [stderr] 97 | fn get_json_from_url(u: url::Url) -> hyper::HttpResult { [INFO] [stderr] | ^^^^^^^^^^ not found in `hyper` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HttpResult` in module `hyper` [INFO] [stderr] --> src/webinterface.rs:104:46 [INFO] [stderr] | [INFO] [stderr] 104 | pub fn get_mix_set(smart_id: &str) -> hyper::HttpResult { [INFO] [stderr] | ^^^^^^^^^^ not found in `hyper` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HttpResult` in module `hyper` [INFO] [stderr] --> src/webinterface.rs:108:35 [INFO] [stderr] | [INFO] [stderr] 108 | pub fn get_play_token() -> hyper::HttpResult { [INFO] [stderr] | ^^^^^^^^^^ not found in `hyper` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HttpResult` in module `hyper` [INFO] [stderr] --> src/webinterface.rs:112:70 [INFO] [stderr] | [INFO] [stderr] 112 | pub fn get_play_state(pt: &api::PlayToken, mix: &api::Mix) -> hyper::HttpResult { [INFO] [stderr] | ^^^^^^^^^^ not found in `hyper` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HttpResult` in module `hyper` [INFO] [stderr] --> src/webinterface.rs:116:70 [INFO] [stderr] | [INFO] [stderr] 116 | pub fn get_next_track(pt: &api::PlayToken, mix: &api::Mix) -> hyper::HttpResult { [INFO] [stderr] | ^^^^^^^^^^ not found in `hyper` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HttpResult` in module `hyper` [INFO] [stderr] --> src/webinterface.rs:120:70 [INFO] [stderr] | [INFO] [stderr] 120 | pub fn get_skip_track(pt: &api::PlayToken, mix: &api::Mix) -> hyper::HttpResult { [INFO] [stderr] | ^^^^^^^^^^ not found in `hyper` [INFO] [stderr] [INFO] [stderr] error[E0603]: extern crate `ffi` is private [INFO] [stderr] --> src/gui.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | use gtk::ffi::*; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0603]: extern crate `ffi` is private [INFO] [stderr] --> src/player.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | use gtk::ffi::*; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `gtk::ffi::*` [INFO] [stderr] --> src/player.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use gtk::ffi::*; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] error[E0107]: wrong number of type arguments: expected 0, found 1 [INFO] [stderr] --> src/player.rs:63:28 [INFO] [stderr] | [INFO] [stderr] 63 | gui_sender: Option>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unexpected type argument [INFO] [stderr] [INFO] [stderr] error: aborting due to 143 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0107, E0405, E0412, E0422, E0423, E0425, E0433, E0603, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0107`. [INFO] [stderr] error: Could not compile `rusttracks`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "f8421985a49d93b6f326e0bc7f5e1c3de6b641473911c65742a9179ab68eb4db"` [INFO] running `"docker" "rm" "-f" "f8421985a49d93b6f326e0bc7f5e1c3de6b641473911c65742a9179ab68eb4db"` [INFO] [stdout] f8421985a49d93b6f326e0bc7f5e1c3de6b641473911c65742a9179ab68eb4db