Skip to content

Instantly share code, notes, and snippets.

View Gottox's full-sized avatar

Enno T. Boland Gottox

View GitHub Profile
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
[ 0.000000] Linux version 4.19.46-00005-g481555176738 (build@f543a26f19d7) (gcc version 7.4.1 20181213 [linaro-7.4-2019.02 revision 56ec6f6b99cc167ff0c2f8e1a2eed33b1edc85d4] (Linaro GCC 7.4-2019.02)) #2 SMP PREEMPT Thu Jan 23 13:12:19 UTC 2020
[ 0.000000] Machine model: SolidRun LX2160A COM express type 7 module
[ 0.000000] earlycon: pl11 at MMIO32 0x00000000021c0000 (options '')
[ 0.000000] bootconsole [pl11] enabled
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 32 MiB at 0x00000000f9c00000
[ 0.000000] NUMA: No NUMA configuration found
[ 0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x0000002f7fffffff]
error[E0495]: cannot infer an appropriate lifetime for autoref due to conflicting requirements
--> src/client.rs:95:76
|
95 | let other_pages = iter(1 .. total_pages).then(move |n| cloned_self.page::<E>(n));
| ^^^^
|
note: first, the lifetime cannot outlive the lifetime `'_` as defined on the body at 95:55...
--> src/client.rs:95:55
|
95 | let other_pages = iter(1 .. total_pages).then(move |n| cloned_self.page::<E>(n));
2020-01-03T18:12:16.02667 daemon.info: Jan 3 19:12:16 ModemManager[27939]: <info> Caught signal, shutting down...
2020-01-03T18:12:16.02750 daemon.info: Jan 3 19:12:16 NetworkManager[10037]: <info> [1578075136.0274] modem-manager: ModemManager no longer available
2020-01-03T18:12:16.02756 daemon.info: Jan 3 19:12:16 ModemManager[27939]: <info> ModemManager is shut down
2020-01-03T18:12:16.02822 daemon.info: Jan 3 19:12:16 dbus-daemon[10035]: [system] Activating service name='org.freedesktop.ModemManager1' requested by ':1.15' (uid=0 pid=10037 comm="NetworkManager -n ") (using servicehelper)
2020-01-03T18:12:16.03271 daemon.info: Jan 3 19:12:16 ModemManager[23382]: <info> ModemManager (version 1.12.2) starting in system bus...
2020-01-03T18:12:16.04025 daemon.info: Jan 3 19:12:16 dbus-daemon[10035]: [system] Successfully activated service 'org.freedesktop.ModemManager1'
2020-01-03T18:12:16.05012 daemon.info: Jan 3 19:12:16 NetworkManager[10037]: <info> [1578075136.0500] modem-manager: ModemManager
### Keybase proof
I hereby claim:
* I am gottox on github.
* I am gottox (https://keybase.io/gottox) on keybase.
* I have a public key ASCQspJBhOPrTzOxR7vp3BtpTSMkm7CmAJh1ijJfxGiUmQo
To claim this, I am signing this object:
Compiling testproject v0.1.0 (/tmp/testproject)
error[E0277]: the trait bound `std::future::GenFuture<[static generator@src/main.rs:8:31: 8:41 x:_ _]>: std::marker::Unpin` is not satisfied in `impl core::future::future::Future`
--> src/main.rs:10:39
|
10 | while let Some(stream) = incoming.next().await {
| ^^^^ within `impl core::future::future::Future`, the trait `std::marker::Unpin` is not implemented for `std::future::GenFuture<[static generator@src/main.rs:8:31: 8:41 x:_ _]>`
|
= help: the following implementations were found:
<std::future::GenFuture<T> as std::marker::Unpin>
= note: required because it appears within the type `impl core::future::future::Future`
diff --git a/nss_cache.c b/nss_cache.c
index aabc0ef..d5938da 100644
--- a/nss_cache.c
+++ b/nss_cache.c
@@ -730,7 +730,7 @@ enum nss_status _nss_cache_getgrnam_r(const char *name, struct group *result,
//
// Routines for shadow map defined here.
//
-#if defined(__LINUX__) && defined(__GLIBC__)
+#if defined(__linux__) && defined(__GLIBC__)
Compiling testproject v0.1.0 (/tmp/testproject)
error[E0277]: the trait bound `std::future::GenFuture<[static generator@src/main.rs:8:31: 8:41 x:_ _]>: std::marker::Unpin` is not satisfied in `impl core::future::future::Future`
--> src/main.rs:10:39
|
10 | while let Some(stream) = incoming.next().await {
| ^^^^ within `impl core::future::future::Future`, the trait `std::marker::Unpin` is not implemented for `std::future::GenFuture<[static generator@src/main.rs:8:31: 8:41 x:_ _]>`
|
= help: the following implementations were found:
<std::future::GenFuture<T> as std::marker::Unpin>
= note: required because it appears within the type `impl core::future::future::Future`
Compiling testproject v0.1.0 (/tmp/testproject)
error[E0277]: the trait bound `std::option::Option<tokio::net::tcp::stream::TcpStream>: core::future::future::Future` is not satisfied
--> src/main.rs:7:29
|
7 | rev_listener.incoming().filter_map(|x| x.ok());
| ^^^^^^^^^^ the trait `core::future::future::Future` is not implemented for `std::option::Option<tokio::net::tcp::stream::TcpStream>`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0277`.
Compiling testproject v0.1.0 (/tmp/testproject)
warning: unused import: `tokio::stream::StreamExt`
--> src/main.rs:2:5
|
2 | use tokio::stream::StreamExt;
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
error[E0599]: no method named `filter_map` found for type `tokio::net::tcp::incoming::Incoming<'_>` in the current scope
Compiling testproject v0.1.0 (/tmp/testproject)
error[E0599]: no method named `filter_map` found for type `tokio::net::tcp::incoming::Incoming<'_>` in the current scope
--> src/main.rs:6:29
|
6 | rev_listener.incoming().filter_map(|x| x.ok());
| ^^^^^^^^^^ method not found in `tokio::net::tcp::incoming::Incoming<'_>`
|
= note: the method `filter_map` exists but the following trait bounds were not satisfied:
`&mut tokio::net::tcp::incoming::Incoming<'_> : std::iter::Iterator`