Skip to content

Instantly share code, notes, and snippets.

Device: /org/freedesktop/UPower/devices/battery_BAT0
native-path: BAT0
vendor: SONY
model: 45N1111
serial: 14446
power supply: yes
updated: Wed 19 Mar 2014 03:27:36 PM PDT (9 seconds ago)
has history: yes
has statistics: yes
battery
import shutil
import sys
try:
shutil.copyfile(sys.argv[1], sys.argv[2])
except shutil.Error as e:
pass
except IOError as ioe:
pass
,,,,,,,,,,,:::::::::::::::::,,,,::::::::::::::::::::::::::::,,:,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,~
,,,,,,,,,,,,,,,,,,,,,,,,,::::::::::::::::::::::::::,,,,:::::::,,,,,,:,:,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,:
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,:::::::::::::::::::::::,::,,,,,,,,,,,,:::,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,:
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,::::::::::::::::::::::,.........,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,::,,,,,,,,,,,,,,,,,,,,,,,,,:
:::::::::::::::,,,,,,,,,,,,,,:::::::::::::::::::,,,............,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,::::::::,,,,,,,,,,,,,,,,,:
....,,,::,......::::::::::::::::,,.,:::::::::::,,....,,,,,,,....,,:,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.,:
,,,,,,,,,,,,,............,,,:::::,,::::::::::,,,.....,,,,:::,,,,..,,::,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,:
::::::,,,,,,,,,::::::,,,,,,:::,,::::::::::::,,,......,,:~~~~::,.,,,:~,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,:
:::::::::::::::::::::::::::::::::::::::::::,,,,....,,,:
bloom.rs:6:0: 6:10 error: `use` and `extern mod` declarations must precede items
bloom.rs:6 use mumur;
^~~~~~~~~~
bloom.rs:7:0: 7:8 error: `use` and `extern mod` declarations must precede items
bloom.rs:7 use fnv;
^~~~~~~~
bloom.rs:8:0: 8:16 error: `use` and `extern mod` declarations must precede items
bloom.rs:8 use extra::bitv;
^~~~~~~~~~~~~~~~
bloom.rs:10:0: 10:13 error: `use` and `extern mod` declarations must precede items
fnv32.rs:51:18: 51:34 error: borrowed value does not live long enough
fnv32.rs:51 let res = zip(comp, spec).iter()
^~~~~~~~~~~~~~~~
fnv32.rs:51:18: 53:24 note: borrowed pointer must be valid for the method call at 51:18...
fnv32.rs:51 let res = zip(comp, spec).iter()
fnv32.rs:52 .transform(|&(x, y)| {hash32(&x) == (y as u32) })
fnv32.rs:53 .all(|x| x);
fnv32.rs:51:18: 52:13 note: ...but borrowed value is only valid for the method call at 51:18
fnv32.rs:51 let res = zip(comp, spec).iter()
fnv32.rs:52 .transform(|&(x, y)| {hash32(&x) == (y as u32) })
error: main function not found
error: aborting due to previous error
rust: task failed at 'explicit failure', /home/dcolish/workspace/rust/src/libsyntax/diagnostic.rs:98
/home/dcolish/local/rust/trunk/bin/../lib/librustrt.so(_ZN9rust_task13begin_failureEPKcS1_m+0x4b)[0x7fa3a53f605b]
/home/dcolish/local/rust/trunk/bin/../lib/librustrt.so(+0x2d469)[0x7fa3a5407469]
/home/dcolish/local/rust/trunk/bin/../lib/librustrt.so(upcall_fail+0x1a0)[0x7fa3a53f80f0]
/home/dcolish/local/rust/trunk/bin/../lib/libstd-6c65cf4b443341b1-0.7-pre.so(_ZN3sys13begin_unwind_16_89e154cd09156716_07preE+0x2e4)[0x7fa3a7a9f554]
/home/dcolish/local/rust/trunk/bin/../lib/libstd-6c65cf4b443341b1-0.7-pre.so(+0x1166b2)[0x7fa3a7a9f6b2]
/home/dcolish/local/rust/trunk/bin/../lib/libstd-6c65cf4b443341b1-0.7-pre.so(+0x116191)[0x7fa3a7a9f191]
/home/dcolish/local/rust/trunk/bin/../lib/libstd-6c65cf4b443341b1-0.7-pre.so(+0x11666c)[0x7fa3a7a9f66c]
rust: task failed at 'assertion failed: rp.is_none()', /home/dcolish/workspace/rust/src/librustc/middle/typeck/collect.rs:1070
/home/dcolish/local/rust/trunk/bin/../lib/librustrt.so(_ZN9rust_task13begin_failureEPKcS1_m+0x4b)[0x7fd1b85b405b]
/home/dcolish/local/rust/trunk/bin/../lib/librustrt.so(+0x2d469)[0x7fd1b85c5469]
/home/dcolish/local/rust/trunk/bin/../lib/librustrt.so(upcall_fail+0x1a0)[0x7fd1b85b60f0]
/home/dcolish/local/rust/trunk/bin/../lib/libstd-6c65cf4b443341b1-0.7-pre.so(_ZN3sys13begin_unwind_16_89e154cd09156716_07preE+0x2e4)[0x7fd1bac5d554]
/home/dcolish/local/rust/trunk/bin/../lib/libstd-6c65cf4b443341b1-0.7-pre.so(+0x116262)[0x7fd1bac5d262]
/home/dcolish/local/rust/trunk/bin/../lib/libstd-6c65cf4b443341b1-0.7-pre.so(+0x116191)[0x7fd1bac5d191]
/home/dcolish/local/rust/trunk/bin/../lib/libstd-6c65cf4b443341b1-0.7-pre.so(+0x11621c)[0x7fd1bac5d21c]
/home/dcolish/local/rust/trunk/bin/../lib/libstd-6c65cf4b443341b1-0.7-pre.so(+0x116191)[0x7fd1bac5d191]
/home/dcolish/local/rust/trunk/bin/../lib/libst
src/blooms/lib.rs:9:31: 9:33 error: unresolved name `u8`. Did you mean `n`?
src/blooms/lib.rs:9 let f = vec::with_capacity<u8>(n);
compile_and_link: x86_64-unknown-linux-gnu/stage2/test/rustitest-x86_64-unknown-linux-gnu
run: x86_64-unknown-linux-gnu/stage2/test/rustitest-x86_64-unknown-linux-gnu
running 2 tests
test tests::exit_quits ... ok
rustitest-x86_64-unknown-linux-gnu: /home/dcolish/workspace/rust/src/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp:230: void llvm::RuntimeDyldELF::resolveX86_64Relocation(const llvm::SectionEntry&, uint64_t, uint64_t, uint32_t, int64_t): Assertion `RealOffset <= (2147483647) && RealOffset >= (-2147483647-1)' failed.
Aborted
make: *** [tmp/check-stage2-T-x86_64-unknown-linux-gnu-H-x86_64-unknown-linux-gnu-rusti.ok] Error 134
test tests::exit_quits ... ok
rustitest-x86_64-unknown-linux-gnu: /home/dcolish/workspace/rust/src/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp:230: void llvm::RuntimeDyldELF::resolveX86_64Relocation(const llvm::SectionEntry&, uint64_t, uint64_t, uint32_t, int64_t): Assertion `RealOffset <= (2147483647) && RealOffset >= (-2147483647-1)' failed.
Aborted