[INFO] updating cached repository https://github.com/betzerra/canillitapp-cli-rust [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c17798e5b10b0d067c676275c0d451efbbdba822 [INFO] testing betzerra/canillitapp-cli-rust against beta-2019-09-28 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbetzerra%2Fcanillitapp-cli-rust" "work/builds/worker-8/source"` [INFO] [stderr] Cloning into 'work/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/betzerra/canillitapp-cli-rust on toolchain beta-2019-09-28 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/betzerra/canillitapp-cli-rust [INFO] finished tweaking git repo https://github.com/betzerra/canillitapp-cli-rust [INFO] tweaked toml for git repo https://github.com/betzerra/canillitapp-cli-rust written to work/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/betzerra/canillitapp-cli-rust already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-09-28" "build" "--frozen"` [INFO] [stdout] 435f72474e9e7095beef1bb10eecb4a20934ace53a00f77f24b14bc95187cfd6 [INFO] running `"docker" "start" "-a" "435f72474e9e7095beef1bb10eecb4a20934ace53a00f77f24b14bc95187cfd6"` [INFO] [stderr] Compiling syn v0.15.31 [INFO] [stderr] Compiling serde v1.0.90 [INFO] [stderr] Compiling openssl v0.10.20 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling tokio-sync v0.1.4 [INFO] [stderr] Compiling unicase v2.3.0 [INFO] [stderr] Compiling miniz_oxide_c_api v0.2.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling openssl-sys v0.9.43 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling backtrace v0.3.15 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling want v0.0.6 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling error-chain v0.12.0 [INFO] [stderr] Compiling cookie v0.11.0 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.17 [INFO] [stderr] Compiling flate2 v1.0.7 [INFO] [stderr] Compiling publicsuffix v1.5.2 [INFO] [stderr] Compiling mime v0.3.13 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling tokio-threadpool v0.1.13 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling native-tls v0.2.2 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling h2 v0.1.18 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling tokio v0.1.18 [INFO] [stderr] Compiling serde_derive v1.0.90 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling hyper v0.12.27 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling cookie_store v0.5.1 [INFO] [stderr] Compiling reqwest v0.9.15 [INFO] [stderr] Compiling canillitapp-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `crate::news::*` [INFO] [stderr] --> src/news/test.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::news::*; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `fetch_from_id` [INFO] [stderr] --> src/news/service.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn fetch_from_id(id: i32) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `fetch_from_date` [INFO] [stderr] --> src/news/service.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn fetch_from_date(date: String) -> Result, reqwest::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 39s [INFO] running `"docker" "inspect" "435f72474e9e7095beef1bb10eecb4a20934ace53a00f77f24b14bc95187cfd6"` [INFO] running `"docker" "rm" "-f" "435f72474e9e7095beef1bb10eecb4a20934ace53a00f77f24b14bc95187cfd6"` [INFO] [stdout] 435f72474e9e7095beef1bb10eecb4a20934ace53a00f77f24b14bc95187cfd6 [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-09-28" "test" "--frozen" "--no-run"` [INFO] [stdout] 536003b58d9d912630c01f27aad23bb68aa0a628052427a3c6002ad9824b08bb [INFO] running `"docker" "start" "-a" "536003b58d9d912630c01f27aad23bb68aa0a628052427a3c6002ad9824b08bb"` [INFO] [stderr] Compiling canillitapp-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.54s [INFO] running `"docker" "inspect" "536003b58d9d912630c01f27aad23bb68aa0a628052427a3c6002ad9824b08bb"` [INFO] running `"docker" "rm" "-f" "536003b58d9d912630c01f27aad23bb68aa0a628052427a3c6002ad9824b08bb"` [INFO] [stdout] 536003b58d9d912630c01f27aad23bb68aa0a628052427a3c6002ad9824b08bb [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-09-28" "test" "--frozen"` [INFO] [stdout] e69373199bcb70e8a89f017f9fad2099600064d2a6498570f7ac7e35d37f59f3 [INFO] running `"docker" "start" "-a" "e69373199bcb70e8a89f017f9fad2099600064d2a6498570f7ac7e35d37f59f3"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/canillitapp_cli-535643efeab96348 [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test news::test::tests::test_fetch_from_id ... FAILED [INFO] [stdout] test news::test::tests::test_fetch_popular ... FAILED [INFO] [stdout] test news::test::tests::test_fetch_from_date ... FAILED [INFO] [stdout] test news::test::tests::test_fetch_from_search ... FAILED [INFO] [stdout] test news::test::tests::test_fetch_trending ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- news::test::tests::test_fetch_from_id stdout ---- [INFO] [stdout] thread 'news::test::tests::test_fetch_from_id' panicked at 'There was a problem fetching news_from_id 1: Error { kind: Hyper(Error { kind: Connect, cause: Custom { kind: Other, error: "failed to lookup address information: Temporary failure in name resolution" } }), url: Some("https://api.canillitapp.com/news/1") }', src/news/test.rs:15:9 [INFO] [stdout] [INFO] [stdout] ---- news::test::tests::test_fetch_popular stdout ---- [INFO] [stdout] thread 'news::test::tests::test_fetch_popular' panicked at 'There was a problem fetching fetch_popular: Error { kind: Hyper(Error { kind: Connect, cause: Custom { kind: Other, error: "failed to lookup address information: Temporary failure in name resolution" } }), url: Some("https://api.canillitapp.com/popular") }', src/news/test.rs:50:9 [INFO] [stdout] note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace. [INFO] [stdout] [INFO] [stdout] ---- news::test::tests::test_fetch_from_date stdout ---- [INFO] [stdout] thread 'news::test::tests::test_fetch_from_date' panicked at 'There was a problem fetching fetch_from_date 2019-01-01: Error { kind: Hyper(Error { kind: Connect, cause: Custom { kind: Other, error: "failed to lookup address information: Temporary failure in name resolution" } }), url: Some("https://api.canillitapp.com/latest/2019-01-01") }', src/news/test.rs:27:9 [INFO] [stdout] [INFO] [stdout] ---- news::test::tests::test_fetch_from_search stdout ---- [INFO] [stdout] thread 'news::test::tests::test_fetch_from_search' panicked at 'There was a problem fetching fetch_from_search Mauricio Macri: Error { kind: Hyper(Error { kind: Connect, cause: Custom { kind: Other, error: "failed to lookup address information: Temporary failure in name resolution" } }), url: Some("https://api.canillitapp.com/search/Mauricio%20Macri") }', src/news/test.rs:39:9 [INFO] [stdout] [INFO] [stdout] ---- news::test::tests::test_fetch_trending stdout ---- [INFO] [stdout] thread 'news::test::tests::test_fetch_trending' panicked at 'There was a problem fetching fetch_trending 2019-01-01: Error { kind: Hyper(Error { kind: Connect, cause: Custom { kind: Other, error: "failed to lookup address information: Temporary failure in name resolution" } }), url: Some("https://api.canillitapp.com/trending/2019-01-01/12") }', src/news/test.rs:62:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x564d5c176984 - backtrace::backtrace::libunwind::trace::hf625d18232cbbbd4 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.37/src/backtrace/libunwind.rs:88 [INFO] [stdout] 1: 0x564d5c176984 - backtrace::backtrace::trace_unsynchronized::h41d74150fc6ff542 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.37/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x564d5c176984 - std::sys_common::backtrace::_print_fmt::h85d37830c667a1f9 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:76 [INFO] [stdout] 3: 0x564d5c176984 - ::fmt::h2b7ac01d5feaf9b2 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:60 [INFO] [stdout] 4: 0x564d5c19815c - core::fmt::write::h7fd0d904495c035f [INFO] [stdout] at src/libcore/fmt/mod.rs:1030 [INFO] [stdout] 5: 0x564d5b994a55 - std::io::Write::write_fmt::h424452e6ba861394 [INFO] [stdout] at /rustc/5752b6348ee6971573b278c315a02193c847ee32/src/libstd/io/mod.rs:1412 [INFO] [stdout] 6: 0x564d5c170361 - std::io::impls::>::write_fmt::h814a51d8ae1dee4a [INFO] [stdout] at src/libstd/io/impls.rs:141 [INFO] [stdout] 7: 0x564d5c178ec5 - std::sys_common::backtrace::_print::h4c743f7c274a5a74 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:64 [INFO] [stdout] 8: 0x564d5c178ec5 - std::sys_common::backtrace::print::ha5c4f4bf03800d4d [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x564d5c178ec5 - std::panicking::default_hook::{{closure}}::h8b842185774c09e6 [INFO] [stdout] at src/libstd/panicking.rs:196 [INFO] [stdout] 10: 0x564d5c178b4c - std::panicking::default_hook::hd8ec13ee1bc2a65a [INFO] [stdout] at src/libstd/panicking.rs:207 [INFO] [stdout] 11: 0x564d5c1795c5 - std::panicking::rust_panic_with_hook::hf3b27166e5f403e7 [INFO] [stdout] at src/libstd/panicking.rs:473 [INFO] [stdout] 12: 0x564d5c179162 - std::panicking::continue_panic_fmt::hd961751be84a6f83 [INFO] [stdout] at src/libstd/panicking.rs:380 [INFO] [stdout] 13: 0x564d5c1790bc - std::panicking::begin_panic_fmt::h23ef54e17e5a13fa [INFO] [stdout] at src/libstd/panicking.rs:335 [INFO] [stdout] 14: 0x564d5b990599 - canillitapp_cli::news::test::tests::test_fetch_trending::hd7d068572b4b9caa [INFO] [stdout] at src/news/test.rs:62 [INFO] [stdout] 15: 0x564d5b99037a - canillitapp_cli::news::test::tests::test_fetch_trending::{{closure}}::hb674cae69d249ed3 [INFO] [stdout] at src/news/test.rs:56 [INFO] [stdout] 16: 0x564d5b97f1de - core::ops::function::FnOnce::call_once::h129440550469f64c [INFO] [stdout] at /rustc/5752b6348ee6971573b278c315a02193c847ee32/src/libcore/ops/function.rs:227 [INFO] [stdout] 17: 0x564d5b99e94f - as core::ops::function::FnOnce>::call_once::h8b428e8a43aaf8e9 [INFO] [stdout] at /rustc/5752b6348ee6971573b278c315a02193c847ee32/src/liballoc/boxed.rs:922 [INFO] [stdout] 18: 0x564d5c17cc3a - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:80 [INFO] [stdout] 19: 0x564d5b9b915e - std::panicking::try::heccce20d527a3513 [INFO] [stdout] at /rustc/5752b6348ee6971573b278c315a02193c847ee32/src/libstd/panicking.rs:271 [INFO] [stdout] 20: 0x564d5b9b915e - std::panic::catch_unwind::h7fd8f5d3271f1692 [INFO] [stdout] at /rustc/5752b6348ee6971573b278c315a02193c847ee32/src/libstd/panic.rs:394 [INFO] [stdout] 21: 0x564d5b9b915e - test::run_test::run_test_inner::{{closure}}::h88b46e5c359957e5 [INFO] [stdout] at src/libtest/lib.rs:1413 [INFO] [stdout] 22: 0x564d5b9941c5 - std::sys_common::backtrace::__rust_begin_short_backtrace::h00847676c8212941 [INFO] [stdout] at /rustc/5752b6348ee6971573b278c315a02193c847ee32/src/libstd/sys_common/backtrace.rs:126 [INFO] [stdout] 23: 0x564d5b998355 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h5dd37acd2295488e [INFO] [stdout] at /rustc/5752b6348ee6971573b278c315a02193c847ee32/src/libstd/thread/mod.rs:470 [INFO] [stdout] 24: 0x564d5b998355 - as core::ops::function::FnOnce<()>>::call_once::h9d32b103da0b97c6 [INFO] [stdout] at /rustc/5752b6348ee6971573b278c315a02193c847ee32/src/libstd/panic.rs:315 [INFO] [stdout] 25: 0x564d5b998355 - std::panicking::try::do_call::h2bd819a3056c57cd [INFO] [stdout] at /rustc/5752b6348ee6971573b278c315a02193c847ee32/src/libstd/panicking.rs:292 [INFO] [stdout] 26: 0x564d5c17cc3a - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:80 [INFO] [stdout] 27: 0x564d5b998902 - std::panicking::try::h243a25457a848a1a [INFO] [stdout] at /rustc/5752b6348ee6971573b278c315a02193c847ee32/src/libstd/panicking.rs:271 [INFO] [stdout] 28: 0x564d5b998902 - std::panic::catch_unwind::h74b81f55e55e757c [INFO] [stdout] at /rustc/5752b6348ee6971573b278c315a02193c847ee32/src/libstd/panic.rs:394 [INFO] [stdout] 29: 0x564d5b998902 - std::thread::Builder::spawn_unchecked::{{closure}}::h4c2d214a2cffa6cf [INFO] [stdout] at /rustc/5752b6348ee6971573b278c315a02193c847ee32/src/libstd/thread/mod.rs:469 [INFO] [stdout] 30: 0x564d5b998902 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8a8a187b3fb58e53 [INFO] [stdout] at /rustc/5752b6348ee6971573b278c315a02193c847ee32/src/libcore/ops/function.rs:227 [INFO] [stdout] 31: 0x564d5c16c4ff - as core::ops::function::FnOnce>::call_once::h3cdef3b7ea22cd61 [INFO] [stdout] at /rustc/5752b6348ee6971573b278c315a02193c847ee32/src/liballoc/boxed.rs:922 [INFO] [stdout] 32: 0x564d5c17bfa0 - as core::ops::function::FnOnce>::call_once::hc8f25720bf0d5424 [INFO] [stdout] at /rustc/5752b6348ee6971573b278c315a02193c847ee32/src/liballoc/boxed.rs:922 [INFO] [stdout] 33: 0x564d5c17bfa0 - std::sys_common::thread::start_thread::h7e8885ccfd5d1932 [INFO] [stdout] at src/libstd/sys_common/thread.rs:13 [INFO] [stdout] 34: 0x564d5c17bfa0 - std::sys::unix::thread::Thread::new::thread_start::h5d24df932d688baf [INFO] [stdout] at src/libstd/sys/unix/thread.rs:79 [INFO] [stdout] 35: 0x7f7c41f696db - start_thread [INFO] [stdout] 36: 0x7f7c41a7a88f - __clone [INFO] [stdout] 37: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] news::test::tests::test_fetch_from_date [INFO] [stdout] news::test::tests::test_fetch_from_id [INFO] [stdout] news::test::tests::test_fetch_from_search [INFO] [stdout] news::test::tests::test_fetch_popular [INFO] [stdout] news::test::tests::test_fetch_trending [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin canillitapp-cli' [INFO] running `"docker" "inspect" "e69373199bcb70e8a89f017f9fad2099600064d2a6498570f7ac7e35d37f59f3"` [INFO] running `"docker" "rm" "-f" "e69373199bcb70e8a89f017f9fad2099600064d2a6498570f7ac7e35d37f59f3"` [INFO] [stdout] e69373199bcb70e8a89f017f9fad2099600064d2a6498570f7ac7e35d37f59f3