Skip to content

Instantly share code, notes, and snippets.

View xorl's full-sized avatar

Ryan Lewon xorl

View GitHub Profile

Keybase proof

I hereby claim:

  • I am xorl on github.
  • I am xorl (https://keybase.io/xorl) on keybase.
  • I have a public key whose fingerprint is 2793 F275 F26E 50A7 18FE 0999 D10B 00A4 15FF FF7E

To claim this, I am signing this object:

#![feature(plugin, custom_derive)]
#![feature(proc_macro_hygiene, decl_macro)]
extern crate bloglib;
#[macro_use] extern crate rocket;
extern crate rocket_contrib;
extern crate rsass;
use bloglib::*;
use bloglib::{auth, posts};
Compiling rocket_contrib v0.4.0-rc.1 (https://github.com/SergioBenitez/Rocket#59e27820)
error[E0277]: the trait bound `templates::fairing::context::notify::Error: std::convert::From<std::io::Error>` is not satisfied
--> /Users/rlewon/.cargo/git/checkouts/rocket-8bf16d9ca7e90bdc/59e2782/contrib/lib/src/templates/fairing.rs:58:31
|
58 | watcher.watch(ctxt.root.canonicalize()?, RecursiveMode::Recursive)?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::convert::From<std::io::Error>` is not implemented for `templates::fairing::context::notify::Error`
|
= note: required by `std::convert::From::from`
error: aborting due to previous error
error[E0277]: the trait bound `(i32, i32, std::string::String, std::string::String, bool): diesel::Queryable<(diesel::types::Integer, diesel::types::Integer, diesel::types::Text, diesel::types::Text, diesel::types::Text, diesel::types::Text, diesel::types::Bool), diesel::pg::Pg>` is not satisfied
--> src/lib.rs:89:10
|
89 | .get_result(&*conn)
| ^^^^^^^^^^ the trait `diesel::Queryable<(diesel::types::Integer, diesel::types::Integer, diesel::types::Text, diesel::types::Text, diesel::types::Text, diesel::types::Text, diesel::types::Bool), diesel::pg::Pg>` is not implemented for `(i32, i32, std::string::String, std::string::String, bool)`
|
= help: the following implementations were found:
<(A, B, C, D, E) as diesel::Queryable<(SA, SB, SC, SD, SE), DB>>
= note: required because of the requirements on the impl of `diesel::Queryable<(diesel::types::Integer, diesel::types::Integer, diesel::types::Text, diesel::types::Text, diesel::types::Text, diesel::types::Text, dies
{
{
"infrastructure-shared": [
"ops-tooling-vmhost1",
"ops-tooling-vmhost2"
]
},
"_meta" : {
"hostvars" : {
package main
import (
"encoding/json"
"fmt"
"github.com/MichaelTJones/walk"
flag "github.com/ogier/pflag"
"gopkg.in/yaml.v2"
"io/ioutil"
//"log"
{
#index results
"_meta" : {
"hostvars" :
data from cache
}
}
params:
libvirt:
guests:
test2:
cpus: 12
disk: 390
mem: 45
type: kvm
test2:
cpus: 12
{
"ci-vmhost": {
"Hostname": {},
"OpsParams": null,
"HostName": "",
"Colo": ""
},
{
{
"hostname": "hostname", # HostName string `yaml:"hostname"`
"ops_params": { OpsParams map[string]string `yaml:"ops_params"`
"environment": "environment",
"lifecycle": "lifecycle",
},
"colo": "dc1", Colo string `yaml:"colo"`
"params": { Params `yaml:"params"`
"libvirt": {