Skip to content

Instantly share code, notes, and snippets.

View illicitonion's full-sized avatar

Daniel Wagner-Hall illicitonion

View GitHub Profile
[=== 00:51 Running integration tests via V2 remote strategy. ===]
14:24:40 [INFO] Starting tests: tests/python/pants_test/backend/jvm/tasks/jvm_compile/javac:javac_compile_integration
14:24:40 [INFO] Starting tests: tests/python/pants_test/build_graph:subproject_integration
14:24:40 [INFO] Starting tests: tests/python/pants_test/projects:scala_examples_integration
14:24:40 [INFO] Starting tests: contrib/node/tests/python/pants_test/contrib/node/tasks:node_bundle_integration
14:24:40 [INFO] Starting tests: tests/python/pants_test/projects:wire_projects_integration
14:24:40 [INFO] Starting tests: tests/python/pants_test/targets:jvm_app_integration
14:24:40 [INFO] Starting tests: tests/python/pants_test/backend/jvm/tasks:benchmark_run_integration
14:24:40 [INFO] Starting tests: tests/python/pants_test/core_tasks:deferred_sources_mapper_integration
14:24:40 [INFO] Starting tests: tests/python/pants_test/backend/jvm/subsystems:shader_integration
impl ::num_enum::TryFromPrimitive for Num {
type Primitive = u32;
const NAME: &'static str = "Num";
fn try_from_primitive(
number: Self::Primitive,
) -> ::core::result::Result<Self, ::num_enum::TryFromPrimitiveError<Self>> {
#![allow(non_upper_case_globals)]
const A0: u32 = 0;
const A1: u32 = u32::wrapping_add(A0, 1);
const A2: u32 = u32::wrapping_add(A1, 1);
travis_fold:start:worker_info
Worker information
hostname: d9f60001-a30f-4a48-a349-d9310a0d418c@1.production-2-worker-org-gce-499c
version: v6.2.0 https://github.com/travis-ci/worker/tree/5e5476e01646095f48eec13196fdb3faf8f5cbf7
instance: travis-job-7179b611-d093-4a6f-9404-cd452615210e travis-ci-sardonyx-xenial-1553530528-f909ac5 (via amqp)
startup: 6.370817924s
travis_fold:end:worker_info
travis_fold:start:system_info
Build system information
Build language: python
travis_fold:start:worker_info
Worker information
hostname: 9c71e68f-60bb-4a1a-b155-83462d6763b7@1.production-1-worker-org-gce-8mbk
version: v6.2.0 https://github.com/travis-ci/worker/tree/5e5476e01646095f48eec13196fdb3faf8f5cbf7
instance: travis-job-bb86241d-a52e-4d5d-93e9-a84b36884461 travis-ci-sardonyx-xenial-1553530528-f909ac5 (via amqp)
startup: 6.497005322s
travis_fold:end:worker_info
travis_fold:start:system_info
Build system information
Build language: python
diff --git a/src/handlers/search.rs b/src/handlers/search.rs
index 9992c5b..9fbeae0 100644
--- a/src/handlers/search.rs
+++ b/src/handlers/search.rs
@@ -36,14 +36,13 @@ impl_web! {
pub fn doc_search(&self, body: Request, index: String) -> impl Future<Item = SearchResults, Error = Error> + Send {
info!("Query: {:?}", body);
let mut futs = Vec::new();
- let boxed_str = Box::leak(index.into_boxed_str());
match self.catalog.read() {
10:16:22 Exception caught: (<type 'exceptions.AttributeError'>)
10:16:22 File ".bootstrap/_pex/pex.py", line 365, in execute
10:16:22 self._wrap_coverage(self._wrap_profiling, self._execute)
10:16:22 File ".bootstrap/_pex/pex.py", line 293, in _wrap_coverage
10:16:22 runner(*args)
10:16:22 File ".bootstrap/_pex/pex.py", line 325, in _wrap_profiling
10:16:22 runner(*args)
10:16:22 File ".bootstrap/_pex/pex.py", line 408, in _execute
10:16:22 return self.execute_entry(self._pex_info.entry_point)
10:16:22 File ".bootstrap/_pex/pex.py", line 466, in execute_entry
pub fn try_collect<Item, Error, Iter: std::iter::Iterator<Item=Result<Item, Error>>, Collection: Default + Extend<Item>>(iter: Iter) -> Result<Collection, Error> {
let mut values: Collection = Default::default();
for item in iter {
match item {
Ok(v) => values.extend(std::iter::once(v)),
Err(err) => return Err(err),
}
}
return Ok(values)
}
func foo(n: Int) -> Int {
switch(n) {
case 0:
return 1
default:
return n
}
}
Missing return in a function expected to return 'Int'
package main
import (
"log"
"os"
"path/filepath"
fsnotify "gopkg.in/fsnotify.v1"
)
$ diff /tmp/{before,after}
822c822
< revision <tt class="docutils literal">master,1284f3f</tt> - <a class="reference external" href="https://github.com/matrix-org/matrix-doc/tree/1284f3f">https://github.com/matrix-org/matrix-doc/tree/1284f3f</a></p>
---
> revision <tt class="docutils literal">daniel/threepidinvites,5031c26</tt> - <a class="reference external" href="https://github.com/matrix-org/matrix-doc/tree/5031c26">https://github.com/matrix-org/matrix-doc/tree/5031c26</a></p>
2844c2844,2847
< <p>Example response:</p>
---
> <p>Response:</p>
> <p><strong>Status code 200:</strong></p>