[INFO] updating cached repository https://github.com/dethos/rusty-hub [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] a1430465977650f1cc350e024585914f3425530d [INFO] testing dethos/rusty-hub against beta-2019-09-28 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdethos%2Frusty-hub" "work/builds/worker-3/source"` [INFO] [stderr] Cloning into 'work/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dethos/rusty-hub 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/dethos/rusty-hub [INFO] finished tweaking git repo https://github.com/dethos/rusty-hub [INFO] tweaked toml for git repo https://github.com/dethos/rusty-hub written to work/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/dethos/rusty-hub 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-3/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-3/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] 7d7541600905463a1852309ffc091fe67a5226b859c4752da67823769594222e [INFO] running `"docker" "start" "-a" "7d7541600905463a1852309ffc091fe67a5226b859c4752da67823769594222e"` [INFO] [stderr] Compiling askama_escape v0.2.0 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling slog v2.4.1 [INFO] [stderr] Compiling libsqlite3-sys v0.12.0 [INFO] [stderr] Compiling tokio-executor v0.1.7 [INFO] [stderr] Compiling backtrace-sys v0.1.30 [INFO] [stderr] Compiling crossbeam-channel v0.3.8 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling socket2 v0.3.9 [INFO] [stderr] Compiling signal-hook-registry v1.0.1 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling isatty v0.1.9 [INFO] [stderr] Compiling syn v0.15.39 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling resolv-conf v0.6.2 [INFO] [stderr] Compiling signal-hook v0.1.9 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling chrono v0.4.7 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Compiling backtrace v0.3.32 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.17 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling slog-async v2.3.0 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.1 [INFO] [stderr] Compiling flate2 v1.0.9 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling r2d2 v0.8.5 [INFO] [stderr] Compiling slog-term v2.4.0 [INFO] [stderr] Compiling actix-codec v0.1.2 [INFO] [stderr] Compiling actix-utils v0.4.2 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-signal v0.2.7 [INFO] [stderr] Compiling actix-server-config v0.1.1 [INFO] [stderr] Compiling h2 v0.1.25 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.94 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling derive_more v0.14.1 [INFO] [stderr] Compiling enum-as-inner v0.2.1 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Compiling actix-web-codegen v0.1.2 [INFO] [stderr] Compiling actix_derive v0.4.0 [INFO] [stderr] Compiling diesel_derives v1.4.0 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling trust-dns-proto v0.7.4 [INFO] [stderr] Compiling actix-threadpool v0.1.1 [INFO] [stderr] Compiling actix-rt v0.2.3 [INFO] [stderr] Compiling diesel v1.4.2 [INFO] [stderr] Compiling actix-server v0.5.1 [INFO] [stderr] Compiling trust-dns-resolver v0.11.1 [INFO] [stderr] Compiling actix-connect v0.2.0 [INFO] [stderr] Compiling serde v1.0.94 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling actix-router v0.1.5 [INFO] [stderr] Compiling toml v0.5.1 [INFO] [stderr] Compiling askama_shared v0.8.0 [INFO] [stderr] Compiling actix-http v0.2.5 [INFO] [stderr] Compiling askama_derive v0.8.0 [INFO] [stderr] Compiling awc v0.2.1 [INFO] [stderr] Compiling actix v0.8.3 [INFO] [stderr] Compiling askama v0.8.0 [INFO] [stderr] Compiling actix-web v1.0.3 [INFO] [stderr] Compiling rusty-hub v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused variable: `db` [INFO] [stderr] --> src/actions.rs:64:27 [INFO] [stderr] | [INFO] [stderr] 64 | pub fn handle_publication(db: &Pool, data: &HashMap) -> bool { [INFO] [stderr] | ^^ help: consider prefixing with an underscore: `_db` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/actions.rs:64:38 [INFO] [stderr] | [INFO] [stderr] 64 | pub fn handle_publication(db: &Pool, data: &HashMap) -> bool { [INFO] [stderr] | ^^^^ help: consider prefixing with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 24s [INFO] running `"docker" "inspect" "7d7541600905463a1852309ffc091fe67a5226b859c4752da67823769594222e"` [INFO] running `"docker" "rm" "-f" "7d7541600905463a1852309ffc091fe67a5226b859c4752da67823769594222e"` [INFO] [stdout] 7d7541600905463a1852309ffc091fe67a5226b859c4752da67823769594222e [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-3/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] 3b3b22fbf915e40090ad2f15113aebb58fc960a4404db5809c95953e9a5c7e20 [INFO] running `"docker" "start" "-a" "3b3b22fbf915e40090ad2f15113aebb58fc960a4404db5809c95953e9a5c7e20"` [INFO] [stderr] Compiling rusty-hub v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused variable: `db` [INFO] [stderr] --> src/actions.rs:64:27 [INFO] [stderr] | [INFO] [stderr] 64 | pub fn handle_publication(db: &Pool, data: &HashMap) -> bool { [INFO] [stderr] | ^^ help: consider prefixing with an underscore: `_db` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/actions.rs:64:38 [INFO] [stderr] | [INFO] [stderr] 64 | pub fn handle_publication(db: &Pool, data: &HashMap) -> bool { [INFO] [stderr] | ^^^^ help: consider prefixing with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.11s [INFO] running `"docker" "inspect" "3b3b22fbf915e40090ad2f15113aebb58fc960a4404db5809c95953e9a5c7e20"` [INFO] running `"docker" "rm" "-f" "3b3b22fbf915e40090ad2f15113aebb58fc960a4404db5809c95953e9a5c7e20"` [INFO] [stdout] 3b3b22fbf915e40090ad2f15113aebb58fc960a4404db5809c95953e9a5c7e20 [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-3/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] 1a79f0c3864c2fa4ec42b08026d023cff734074180ee6b80fbf686f807250173 [INFO] running `"docker" "start" "-a" "1a79f0c3864c2fa4ec42b08026d023cff734074180ee6b80fbf686f807250173"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.84s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rusty_hub-3dde8376f8486e92 [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test utils::tests::test_validate_parsed_data_is_invalid ... ok [INFO] [stderr] Oct 07 06:10:55.449 DEBG Valid Callback: http://example.com/ [INFO] [stderr] Oct 07 06:10:55.449 DEBG Valid Topic: http://example2.com/ [INFO] [stdout] test utils::tests::test_validate_parsed_data_is_valid ... ok [INFO] [stdout] test controllers::tests::test_index ... FAILED [INFO] [stdout] test controllers::tests::test_hub_invalid_callback ... FAILED [INFO] [stdout] test controllers::tests::test_hub_invalid_topic ... FAILED [INFO] [stdout] test controllers::tests::test_hub_invalid_mode ... FAILED [INFO] [stdout] test controllers::tests::test_hub_subscribe_success ... FAILED [INFO] [stdout] test controllers::tests::test_hub_no_parameters ... FAILED [INFO] [stdout] test actions::tests::test_handle_subscription_bad_data ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- controllers::tests::test_index stdout ---- [INFO] [stdout] thread 'controllers::tests::test_index' panicked at 'Failed to create pool.: Error(Some("Unable to open the database file"))', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- controllers::tests::test_hub_invalid_callback stdout ---- [INFO] [stdout] thread 'controllers::tests::test_hub_invalid_callback' panicked at 'Failed to create pool.: Error(Some("Unable to open the database file"))', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- controllers::tests::test_hub_invalid_topic stdout ---- [INFO] [stdout] thread 'controllers::tests::test_hub_invalid_topic' panicked at 'Failed to create pool.: Error(Some("Unable to open the database file"))', src/libcore/result.rs:1165:5 [INFO] [stdout] note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace. [INFO] [stdout] [INFO] [stdout] ---- controllers::tests::test_hub_invalid_mode stdout ---- [INFO] [stdout] thread 'controllers::tests::test_hub_invalid_mode' panicked at 'Failed to create pool.: Error(Some("Unable to open the database file"))', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- controllers::tests::test_hub_subscribe_success stdout ---- [INFO] [stdout] thread 'controllers::tests::test_hub_subscribe_success' panicked at 'Failed to create pool.: Error(Some("Unable to open the database file"))', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- controllers::tests::test_hub_no_parameters stdout ---- [INFO] [stdout] thread 'controllers::tests::test_hub_no_parameters' panicked at 'Failed to create pool.: Error(Some("Unable to open the database file"))', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] controllers::tests::test_hub_invalid_callback [INFO] [stdout] controllers::tests::test_hub_invalid_mode [INFO] [stdout] controllers::tests::test_hub_invalid_topic [INFO] [stdout] controllers::tests::test_hub_no_parameters [INFO] [stdout] controllers::tests::test_hub_subscribe_success [INFO] [stdout] controllers::tests::test_index [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin rusty-hub' [INFO] running `"docker" "inspect" "1a79f0c3864c2fa4ec42b08026d023cff734074180ee6b80fbf686f807250173"` [INFO] running `"docker" "rm" "-f" "1a79f0c3864c2fa4ec42b08026d023cff734074180ee6b80fbf686f807250173"` [INFO] [stdout] 1a79f0c3864c2fa4ec42b08026d023cff734074180ee6b80fbf686f807250173