Skip to content

Instantly share code, notes, and snippets.

View GuillaumeGomez's full-sized avatar

Guillaume Gomez GuillaumeGomez

View GitHub Profile
thread 'rustc' panicked at 'assertion failed: !infcx.is_there_snapshot.get()', src/librustc/traits/fulfill.rs:173
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
stack backtrace:
0: rustc::traits::fulfill::FulfillmentContext::register_predicate_obligation
1: rustc_typeck::check::FnCtxt::register_predicate
2: rustc_typeck::check::FnCtxt::add_obligations_for_parameters
3: rustc_typeck::check::method::<impl rustc_typeck::check::FnCtxt<'a, 'gcx, 'tcx>>::lookup_method_in_trait_adjusted
4: rustc_typeck::check::autoderef::<impl rustc_typeck::check::FnCtxt<'a, 'gcx, 'tcx>>::try_overloaded_deref
5: rustc_typeck::check::autoderef::Autoderef::finalize_as_infer_ok
6: rustc_typeck::check::coercion::Coerce::coerce
#![deny(missing_docs)]
#![deny(warnings)]
//! A crate to provide help to perform async I/O on files using `tokio`.
extern crate libc;
use std::fs::{File, OpenOptions, create_dir_all, remove_file};
use std::io;
use std::path::{Path, PathBuf};
This file has been truncated, but you can view the full file.
/*
* Command line: opannotate --source
*
* Interpretation of command line:
* Output annotated source file with samples
* Output all files
*
* CPU: Intel Ivy Bridge microarchitecture, speed 3.3e+06 MHz (estimated)
* Counted CPU_CLK_UNHALTED events (Clock cycles when not halted) with a unit mask of 0x00 (No unit mask) count 100000
*/
#![deny(missing_docs)]
#![deny(warnings)]
//! A simple HTTP server based on a REST API.
//!
//! You can perform the following actions:
//!
//! * `GET: /[key]`: returns the value corresponding to [key].
//! * `POST: /[key]`: create a new entry or update it with the given value passed in the body.
//! * `DELETE: /[key]`: remove the corresponding [key] from the server.
failures:
---- [ui] ui/custom-derive/issue-36935.rs stdout ----
ui: /Users/imperio/rust/rust/src/test/ui/custom-derive/issue-36935.rs
normalized stderr:
dyld: lazy symbol binding failed: Symbol not found: __ZN3std9panicking20rust_panic_with_hook17h98961cb5426202c9E
Referenced from: /Users/imperio/rust/rust/build/x86_64-apple-darwin/test/ui/custom-derive/issue-36935.stage1-x86_64-apple-darwin.ui.libaux/libplugin.dylib
Expected in: /Users/imperio/rust/rust/build/x86_64-apple-darwin/stage1/lib/libstd-81771318f38f7b62.dylib
dyld: Symbol not found: __ZN3std9panicking20rust_panic_with_hook17h98961cb5426202c9E
cargo build
Compiling internal-network v0.0.1 (file:///Users/imperio/scality/data-rs/internal-network)
error[E0275]: overflow evaluating the requirement `_: std::marker::Sized`
--> src/lib.rs:105:20
|
105 | let read = tokio_core::io::read(self.stream.borrow(), size);
| ^^^^^^^^^^^^^^^^^^^^
|
= note: consider adding a `#![recursion_limit="128"]` attribute to your crate
= note: required because of the requirements on the impl of `std::io::Read` for `&tokio_core::reactor::PollEvented<_>`
./x86_64-apple-darwin/stage1/bin/rustc t.rs
-> &'static str
-> str
error[E0308]: mismatched types
--> t.rs:4:9
|
4 | foo("a");
| ^^^ expected struct `std::string::String`, found reference
|
= note: expected type `std::string::String`
error: internal compiler error: src/librustc/infer/region_inference/mod.rs:744: cannot relate bound region: '_#0r <= ReLateBound(DebruijnIndex { depth: 1 }, BrAnon(0))
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: run with `RUST_BACKTRACE=1` for a backtrace
thread 'rustc' panicked at 'Box<Any>', src/librustc_errors/lib.rs:611
stack backtrace:
imperio@/Users/imperio/rust/servo > git rebase -i upstream/master
Successfully rebased and updated refs/heads/mp3-metadata-version.
imperio@/Users/imperio/rust/servo > ./mach cargo-update -p mp3-metadata
components/servo
Updating registry `https://github.com/rust-lang/crates.io-index`
Updating mp3-metadata v0.2.1 -> v0.2.3
ports/cef
Updating registry `https://github.com/rust-lang/crates.io-index`
Updating mp3-metadata v0.2.1 -> v0.2.3
ports/geckolib
#![feature(plugin)]
#![plugin(afl_plugin)]
extern crate afl;
extern crate mp3_metadata;
use std::env;
fn main() {
/*let file = match env::args().skip(1).next() {