Skip to content

Instantly share code, notes, and snippets.

View hpk42's full-sized avatar

holger krekel hpk42

View GitHub Profile
(py37) hpk@beto:~/p/delta/core-rust2/python (high_level_events2)$ git push
Counting objects: 15, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (14/14), done.
Writing objects: 100% (15/15), 2.56 KiB | 0 bytes/s, done.
Total 15 (delta 12), reused 0 (delta 0)
remote: Resolving deltas: 100% (12/12), completed with 12 local objects.
remote: error: GH006: Protected branch update failed for refs/heads/master.
remote: error: Cannot force-push to this protected branch
To [email protected]:deltachat/deltachat-core-rust.git
(py37) hpk@beto:~/p/delta/core-rust2 (better_move_logging)$ git ci
[better_move_logging eb07a2f] better event information for moved messages
1 file changed, 14 insertions(+)
(py37) hpk@beto:~/p/delta/core-rust2 (better_move_logging)$ git push
Counting objects: 108, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (76/76), done.
Writing objects: 100% (108/108), 27.80 KiB | 0 bytes/s, done.
Total 108 (delta 82), reused 55 (delta 32)
remote: Resolving deltas: 100% (82/82), completed with 47 local objects.
(py37) holger@b2:~/ci_builds/core-rust2/rust-threads/remote_python/1/python$ lldb
(lldb) file py37/bin/pytest
error: '/home/holger/ci_builds/core-rust2/rust-threads/remote_python/1/python/py37/bin/pytest' doesn't contain any 'host' platform architectures: x86_64, i386
(lldb) file py37/bin/python
Current executable set to 'py37/bin/python' (x86_64).
(lldb) run -m pytest
Process 79713 launched: '/home/holger/ci_builds/core-rust2/rust-threads/remote_python/1/python/py37/bin/python' (x86_64)
============================= test session starts ==============================
platform linux -- Python 3.7.6, pytest-5.3.4, py-1.8.1, pluggy-0.13.1 -- /home/holger/ci_builds/core-rust2/rust-threads/remote_python/1/python/py37/bin/python
cachedir: .pytest_cache
15444.9s [D]core/event: DC_EVENT_INFO ThreadId(69) src/job.rs:717: SMTP-idle ended.
15444.9s [D]core/event: DC_EVENT_INFO ThreadId(69) src/job.rs:675: SMTP-jobs started...
15445s [D]core/event: DC_EVENT_WARNING ThreadId(69) src/job.rs:195: SMTP failed to send: broken pipe
15445s [D]main/deltachat: sendToRenderer: DC_EVENT_WARNING [ 0,
'ThreadId(69) src/job.rs:195: SMTP failed to send: broken pipe' ]
15445s [w]main/deltachat: ThreadId(69) src/job.rs:195: SMTP failed to send: broken pipe
DeltaChat.dc.on (/home/hpk/p/delta/desktop/tsc-dist/main/deltachat/controller.js:221:17),
DeltaChat.emit (events.js:182:13),
handleEvent (/home/hpk/p/delta/node/lib/deltachat.js:777:12),
DeltaChat.binding.dcn_set_event_handler (/home/hpk/p/delta/node/lib/deltachat.js:35:7)
Dynamic section at offset 0xe2c140 contains 32 entries:
Tag Type Name/Value
0x0000000000000001 (NEEDED) Shared library: [libdl.so.2]
0x0000000000000001 (NEEDED) Shared library: [librt.so.1]
0x0000000000000001 (NEEDED) Shared library: [libpthread.so.0]
0x0000000000000001 (NEEDED) Shared library: [libgcc_s.so.1]
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
0x0000000000000001 (NEEDED) Shared library: [ld-linux-x86-64.so.2]
0x0000000000000001 (NEEDED) Shared library: [libm.so.6]
diff --git a/src/imap_client.rs b/src/imap_client.rs
index 3f4da0d..04f8eff 100644
--- a/src/imap_client.rs
+++ b/src/imap_client.rs
@@ -43,10 +43,9 @@ impl Client {
client.debug = true;
}
- let _greeting = client
- .read_response()
Compiling async-imap v0.1.1 (https://github.com/async-email/async-imap?branch=native_tls#3dc3681a)
error[E0053]: method `decode` has an incompatible type for trait
--> /home/holger/.cargo/git/checkouts/async-imap-d663ba60b0093518/3dc3681/src/codec.rs:29:5
|
29 | fn decode(&mut self, buf: &mut BytesMut) -> Result<Option<Self::Item>, io::Error> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `bytes::bytes_mut::BytesMut`, found struct `bytes::bytes::BytesMut`
|
= note: expected type `fn(&mut codec::ImapCodec, &mut bytes::bytes_mut::BytesMut) -> std::result::Result<std::option::Option<codec::ResponseData>, std::io::Error>`
found type `fn(&mut codec::ImapCodec, &mut bytes::bytes::BytesMut) -> std::result::Result<std::option::Option<codec::ResponseData>, std::io::Error>`
commit 8fa175f36d77fa80ceae200db3341076506a6449
Author: holger krekel <[email protected]>
Date: Sat Dec 14 00:22:09 2019 +0100
changelog and version up to 1.0.0-beta.16
diff --git a/CHANGELOG.md b/CHANGELOG.md
index ad3c015..4024abc 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
name = 'deltachat_ffi'
operating_system = 'unix:Ubuntu'
crate_version = '1.0.0-beta.11'
explanation = '''
Cause: rwlock read lock would result in deadlock. Panic occurred in file 'src/libstd/sys/unix/rwlock.rs' at line 48
'''
method = 'Panic'
backtrace = '''
stack backtrace:
0: 0x7f94eec0c187 - backtrace::backtrace::libunwind::trace::he06e1eb9ddac9d02
(py37) hpk@beto:~/p/delta/core-rust2/python (send-profile-images)$ DCC_MIME_DEBUG=2 pytest -k avatar -s --pdb
============================================= test session starts ==============================================
platform linux -- Python 3.7.4, pytest-5.0.1, py-1.8.0, pluggy-0.12.0 -- /home/hpk/venv/py37/bin/python3.7
cachedir: .pytest_cache
Deltachat core=v1.0.0-beta.15 sqlite=3.29.0
Liveconfig provider: https://testrun.org/newtmpuser#<token ommitted>
rootdir: /home/hpk/p/delta/core-rust2/python, inifile: tox.ini
plugins: forked-1.0.2, xdist-1.29.0, devpi-server-5.1.0, timeout-1.3.3, rerunfailures-7.0
timeout: 60.0s
timeout method: thread