Skip to content

Instantly share code, notes, and snippets.

--- prop_limited_independence_of_irrelevant_alternatives stdout ----
proptest: Failed to find absolute path of source file '"tests/resolve.rs"'. Ensure the test is being run from somewhere within the crate directory hierarchy.
proptest: FileFailurePersistence::SourceParallel set, but no source file known
thread 'prop_limited_independence_of_irrelevant_alternatives' panicked at 'got to 50_000 ticks in 23.164781237s', /home/bearcage/work/cargo/src/cargo/core/resolver/types.rs:67:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
vec![pkg!(("z-sys", "18.14.13")),pkg!(("z-sys", "18.12.16")),pkg!(("z-sys", "16.4.6")),pkg!(("z-sys", "15.11.19")),pkg!(("z-sys", "11.14.9")),pkg!(("z-sys", "11.0.8")),pkg!(("z-sys", "10.13.14")),pkg!(("z-sys", "10.1.15")),pkg!(("z-sys", "6.4.5")),pkg!(("z-sys", "3.8.3")),pkg!(("z-sys", "2.16.11")),pkg!(("z-sys", "1.5.6")),pkg!(("xKfB-mZ__636Nc-q--sys", "15.10.11") => [dep_req("z-sys", "<=15.11.19"),]),pkg!(("xKfB-mZ__636Nc-q--sys", "15.8.10")),pkg!(("xKfB-
fn next_value_seed<V>(&mut self, seed: V) -> Result<V::Value, Self::Error>
where
V: de::DeserializeSeed<'de>,
{
let field = &self.fields[self.field_index];
self.field_index += 1;
// Set this as the current key in the deserializer.
let field = match field {
KeyKind::Normal(field) => {
self.de.key.push(field);
#[derive(Default, Debug, Deserialize)]
#[serde(default, deny_unknown_fields, rename_all="kebab-case")]
pub struct CliUnstable {
pub print_im_a_teapot: bool,
#[serde(default="default_false")]
pub unstable_options: bool,
pub no_index_update: bool,
pub avoid_dev_deps: bool,
pub minimal_versions: bool,
pub package_features: bool,
use std::time::{Duration, Instant};
fn main() {
let now = Instant::now();
let offset = Duration::from_millis(5);
assert_eq!((now + offset) - now, (now - now) + offset);
}
C:\Users\aberg\work\timetest (master -> origin)
λ cargo run
Finished dev [unoptimized + debuginfo] target(s) in 0.02s
Running `target\debug\timetest.exe`
thread 'main' panicked at 'assertion failed: `(left == right)`
left: `4.999914ms`,
right: `5ms`', src\main.rs:6:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.
error: process didn't exit successfully: `target\debug\timetest.exe` (exit code: 101)
thread 'main' panicked at 'assertion failed: `(left == right)`
left: `4.999914ms`,
right: `5ms`', src\main.rs:7:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.
error: process didn't exit successfully: `target\debug\timetest.exe` (exit code: 101)
@bearcage
bearcage / keybase.md
Created February 23, 2018 23:17
keybase.md

Keybase proof

I hereby claim:

  • I am aberghage on github.
  • I am bearcage (https://keybase.io/bearcage) on keybase.
  • I have a public key ASD6jXpNipfRqMcMhk-zMk0LUwO_VcPRITBlg6IRIvP6HQo

To claim this, I am signing this object:

// I got mad at the typesystem while I was learning, and when it told me I
// wasn't allowed to add a u32 and a u64 together and save the result in a u64,
// I decided to force the issue instead of learning that the syntax for that
// cast was spelled "as". Since my first working puzzle implementation in rust
// involved inline assembly, I thought I should own that shame and keep it here.
#![feature(asm)]
extern crate clap;
fn fucking_add(a: u64, b: u32) -> u64 {
function(discover_catch_tests target)
execute_process(COMMAND "${target}" "--list-test-names-only"
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
OUTPUT_VARIABLE test_dump
ERROR_QUIET)
string(REPLACE "\n" ";" test_list "${test_dump}")
set(DISCOVERED_TESTS ${test_list} PARENT_SCOPE)
endfunction()
lol