Skip to content

Instantly share code, notes, and snippets.

@zakorgy
Created February 24, 2016 07:33
Show Gist options
  • Save zakorgy/07bf5cec758d220935c9 to your computer and use it in GitHub Desktop.
Save zakorgy/07bf5cec758d220935c9 to your computer and use it in GitHub Desktop.
Compiling device v0.0.1 (file:///home/zakor1gyula608/zakorgyservo/servo/components/servo)
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:13:5: 13:43 error: the trait `core::clone::Clone` is not implemented for the type `blurz::bluetooth_adapter::BluetoothAdapter` [E0277]
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:13 adapter: Option<BluetoothAdapterBluez>,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:10:10: 10:15 note: in this expansion of #[derive_Clone] (defined in /home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs)
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:13:5: 13:43 help: run `rustc --explain E0277` to see a detailed explanation
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:13:5: 13:43 note: required by `core::clone::Clone::clone`
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:23:5: 23:33 error: the trait `core::clone::Clone` is not implemented for the type `blurz::bluetooth_device::BluetoothDevice` [E0277]
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:23 device: BluetoothDeviceBluez,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:19:10: 19:15 note: in this expansion of #[derive_Clone] (defined in /home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs)
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:23:5: 23:33 help: run `rustc --explain E0277` to see a detailed explanation
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:23:5: 23:33 note: required by `core::clone::Clone::clone`
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:59:37: 59:44 error: no method named `clone` found for type `blurz::bluetooth_adapter::BluetoothAdapter` in the current scope
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:59 self.adapter = Some(adapter.clone());
^~~~~~~
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:61:47: 61:64 error: no method named `get_object_path` found for type `blurz::bluetooth_adapter::BluetoothAdapter` in the current scope
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:61 self.object_path = self.get_adapter().get_object_path();
^~~~~~~~~~~~~~~~~
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:63:42: 63:55 error: no method named `get_devices` found for type `blurz::bluetooth_adapter::BluetoothAdapter` in the current scope
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:63 let devices = self.get_adapter().get_devices();
^~~~~~~~~~~~~
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:66:31: 66:45 error: the type of this value must be known in this context
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:66 self.device_added(device.clone());
^~~~~~~~~~~~~~
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:80:34: 80:69 error: no associated item named `create_device` found for type `blurz::bluetooth_device::BluetoothDevice` in the current scope
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:80 BluetoothDeviceBluez::create_device(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:86:28: 86:45 error: no method named `get_object_path` found for type `blurz::bluetooth_adapter::BluetoothAdapter` in the current scope
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:86 self.get_adapter().get_object_path()
^~~~~~~~~~~~~~~~~
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:91:28: 91:41 error: no method named `get_address` found for type `blurz::bluetooth_adapter::BluetoothAdapter` in the current scope
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:91 self.get_adapter().get_address()
^~~~~~~~~~~~~
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:96:28: 96:38 error: no method named `get_name` found for type `blurz::bluetooth_adapter::BluetoothAdapter` in the current scope
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:96 self.get_adapter().get_name()
^~~~~~~~~~
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:181:27: 181:44 error: no method named `get_object_path` found for type `blurz::bluetooth_device::BluetoothDevice` in the current scope
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:181 self.get_device().get_object_path()
^~~~~~~~~~~~~~~~~
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:186:21: 186:28 error: no method named `clone` found for type `blurz::bluetooth_device::BluetoothDevice` in the current scope
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:186 self.device.clone()
^~~~~~~
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:191:27: 191:40 error: no method named `get_address` found for type `blurz::bluetooth_device::BluetoothDevice` in the current scope
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:191 self.get_device().get_address()
^~~~~~~~~~~~~
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:196:27: 196:37 error: no method named `get_name` found for type `blurz::bluetooth_device::BluetoothDevice` in the current scope
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:196 self.get_device().get_name()
^~~~~~~~~~
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:201:27: 201:38 error: no method named `get_class` found for type `blurz::bluetooth_device::BluetoothDevice` in the current scope
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:201 self.get_device().get_class()
^~~~~~~~~~~
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:206:27: 206:42 error: no method named `get_vendor_id` found for type `blurz::bluetooth_device::BluetoothDevice` in the current scope
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:206 self.get_device().get_vendor_id()
^~~~~~~~~~~~~~~
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:211:27: 211:43 error: no method named `get_product_id` found for type `blurz::bluetooth_device::BluetoothDevice` in the current scope
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:211 self.get_device().get_product_id()
^~~~~~~~~~~~~~~~
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:216:27: 216:48 error: no method named `get_product_version` found for type `blurz::bluetooth_device::BluetoothDevice` in the current scope
/home/zakor1gyula608/zakorgyservo/servo/components/device/bluetooth.rs:216 self.get_device().get_product_version()
^~~~~~~~~~~~~~~~~~~~~
error: aborting due to 18 previous errors
Could not compile `device`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment