[INFO] updating cached repository https://github.com/felipesere/tldr-github [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/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] 5551bedcca9ca49f0b521aa7fe50b8e3d284d1a2 [INFO] testing felipesere/tldr-github against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelipesere%2Ftldr-github" "/workspace/builds/worker-7/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/felipesere/tldr-github on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/felipesere/tldr-github [INFO] finished tweaking git repo https://github.com/felipesere/tldr-github [INFO] tweaked toml for git repo https://github.com/felipesere/tldr-github written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/felipesere/tldr-github already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-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-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] fc9504f2abeec9b4186a5b55416b92e87a0c76f25de1c9092af4c7b9265c1573 [INFO] running `"docker" "start" "-a" "fc9504f2abeec9b4186a5b55416b92e87a0c76f25de1c9092af4c7b9265c1573"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling curl v0.4.26 [INFO] [stderr] Compiling doc-comment v0.3.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling curl-sys v0.4.27 [INFO] [stderr] Compiling libsqlite3-sys v0.16.0 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling parking_lot_core v0.7.0 [INFO] [stderr] Compiling async-task v1.3.1 [INFO] [stderr] Compiling libnghttp2-sys v0.1.2 [INFO] [stderr] Compiling socket2 v0.3.11 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling termios v0.3.1 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling regex v1.3.4 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling backtrace v0.3.44 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling parking_lot v0.10.0 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling kv-log-macro v1.0.4 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling futures-fs v0.0.5 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling r2d2 v0.8.8 [INFO] [stderr] Compiling futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling console v0.7.7 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling futures-executor-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling isahc v0.7.6 [INFO] [stderr] Compiling async-log-attributes v1.0.1 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling graphql-parser v0.2.3 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling async-log v1.1.0 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling broadcaster v1.0.0 [INFO] [stderr] Compiling async-std v1.5.0 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling http-service v0.4.0 [INFO] [stderr] Compiling http-service-hyper v0.4.1 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling serde_qs v0.5.2 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling diesel v1.4.3 [INFO] [stderr] Compiling chrono-humanize v0.0.11 [INFO] [stderr] Compiling graphql_client_codegen v0.8.0 [INFO] [stderr] Compiling tide v0.6.0 [INFO] [stderr] Compiling surf v1.0.3 [INFO] [stderr] Compiling jfs v0.6.2 [INFO] [stderr] Compiling femme v1.3.0 [INFO] [stderr] Compiling tide-naive-static-files v2.2.0 [INFO] [stderr] Compiling graphql_query_derive v0.8.0 [INFO] [stderr] Compiling graphql_client v0.8.0 [INFO] [stderr] Compiling migrations_internals v1.4.0 [INFO] [stderr] Compiling migrations_macros v1.4.1 [INFO] [stderr] Compiling diesel_migrations v1.4.0 [INFO] [stderr] Compiling tldr-github v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 50s [INFO] running `"docker" "inspect" "fc9504f2abeec9b4186a5b55416b92e87a0c76f25de1c9092af4c7b9265c1573"` [INFO] running `"docker" "rm" "-f" "fc9504f2abeec9b4186a5b55416b92e87a0c76f25de1c9092af4c7b9265c1573"` [INFO] [stdout] fc9504f2abeec9b4186a5b55416b92e87a0c76f25de1c9092af4c7b9265c1573 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-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-2020-06-03" "test" "--frozen" "--no-run"` [INFO] [stdout] fe05a73ad2c9616a2065556b4e7faf0096dfee505856b790d5ad4559352323c4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "fe05a73ad2c9616a2065556b4e7faf0096dfee505856b790d5ad4559352323c4"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling normalize-line-endings v0.2.2 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling mockall_derive v0.6.0 [INFO] [stderr] Compiling predicates v1.0.3 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.11 [INFO] [stderr] Compiling proc-macro-error v0.4.11 [INFO] [stderr] Compiling extend v0.1.1 [INFO] [stderr] Compiling assert-json-diff v1.0.3 [INFO] [stderr] Compiling mockall v0.6.0 [INFO] [stderr] Compiling tldr-github v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/domain/mod.rs:253:5 [INFO] [stderr] | [INFO] [stderr] 253 | / mock!( [INFO] [stderr] 254 | | pub Database { } [INFO] [stderr] 255 | | trait Db { [INFO] [stderr] 256 | | fn find_repo(&self, repo_name: &str) -> Option; [INFO] [stderr] ... | [INFO] [stderr] 267 | | } [INFO] [stderr] 268 | | ); [INFO] [stderr] | |______^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/domain/mod.rs:253:5 [INFO] [stderr] | [INFO] [stderr] 253 | / mock!( [INFO] [stderr] 254 | | pub Database { } [INFO] [stderr] 255 | | trait Db { [INFO] [stderr] 256 | | fn find_repo(&self, repo_name: &str) -> Option; [INFO] [stderr] ... | [INFO] [stderr] 267 | | } [INFO] [stderr] 268 | | ); [INFO] [stderr] | |______^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/domain/mod.rs:270:5 [INFO] [stderr] | [INFO] [stderr] 270 | / mock!( [INFO] [stderr] 271 | | pub Github{ } [INFO] [stderr] 272 | | [INFO] [stderr] 273 | | trait ClientForRepositories{ [INFO] [stderr] ... | [INFO] [stderr] 278 | | } [INFO] [stderr] 279 | | ); [INFO] [stderr] | |______^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 45.81s [INFO] running `"docker" "inspect" "fe05a73ad2c9616a2065556b4e7faf0096dfee505856b790d5ad4559352323c4"` [INFO] running `"docker" "rm" "-f" "fe05a73ad2c9616a2065556b4e7faf0096dfee505856b790d5ad4559352323c4"` [INFO] [stdout] fe05a73ad2c9616a2065556b4e7faf0096dfee505856b790d5ad4559352323c4 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-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-2020-06-03" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c184eac5da8e861185fc000fc16bbd19c477a020f6e13c8e390c3ebc57d5e502 [INFO] running `"docker" "start" "-a" "c184eac5da8e861185fc000fc16bbd19c477a020f6e13c8e390c3ebc57d5e502"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/domain/mod.rs:253:5 [INFO] [stderr] | [INFO] [stderr] 253 | / mock!( [INFO] [stderr] 254 | | pub Database { } [INFO] [stderr] 255 | | trait Db { [INFO] [stderr] 256 | | fn find_repo(&self, repo_name: &str) -> Option; [INFO] [stderr] ... | [INFO] [stderr] 267 | | } [INFO] [stderr] 268 | | ); [INFO] [stderr] | |______^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/domain/mod.rs:253:5 [INFO] [stderr] | [INFO] [stderr] 253 | / mock!( [INFO] [stderr] 254 | | pub Database { } [INFO] [stderr] 255 | | trait Db { [INFO] [stderr] 256 | | fn find_repo(&self, repo_name: &str) -> Option; [INFO] [stderr] ... | [INFO] [stderr] 267 | | } [INFO] [stderr] 268 | | ); [INFO] [stderr] | |______^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/domain/mod.rs:270:5 [INFO] [stderr] | [INFO] [stderr] 270 | / mock!( [INFO] [stderr] 271 | | pub Github{ } [INFO] [stderr] 272 | | [INFO] [stderr] 273 | | trait ClientForRepositories{ [INFO] [stderr] ... | [INFO] [stderr] 278 | | } [INFO] [stderr] 279 | | ); [INFO] [stderr] | |______^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.79s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/tldr_github-02a887def3573db1 [INFO] [stdout] [INFO] [stdout] running 27 tests [INFO] [stdout] test config::tests::it_can_read_the_config_with_specific_port ... ok [INFO] [stdout] test config::tests::it_can_read_the_config_with_automatic_port_selection ... ok [INFO] [stdout] test config::tests::it_can_pick_a_backing_for_the_db ... ok [INFO] [stdout] test db::in_memory::tests::can_add_an_item_to_a_repo ... ok [INFO] [stdout] test db::in_memory::tests::a_deleted_item_can_not_be_found ... ok [INFO] [stdout] test db::in_memory::tests::it_finds_a_repo_that_was_added ... ok [INFO] [stdout] test db::in_memory::tests::an_added_tracked_item_can_be_removed ... ok [INFO] [stdout] test db::in_memory::tests::can_update_an_added_item ... ok [INFO] [stdout] test domain::test::does_not_add_items_to_a_non_existing_repo ... ignored [INFO] [stdout] test domain::test::queries_github_for_details_on_items_and_stores_them ... ignored [INFO] [stdout] test domain::api::test::serialize_add_repo_json ... ok [INFO] [stdout] test domain::api::test::serialize_adding_items_to_track_json ... ok [INFO] [stdout] test github::tests::broad_repo_view ... ok [INFO] [stdout] test domain::api::test::serialize_an_entire_repo_json ... ok [INFO] [stdout] test github::tests::issues_requests ... ok [INFO] [stdout] test github::tests::grabs_pull_requests ... ok [INFO] [stdout] test db::json_storage::tests::a_deleted_item_can_not_be_found ... ok [INFO] [stdout] test github::tests::repo_exist ... ok [INFO] [stdout] test db::json_storage::tests::can_add_an_item_to_a_repo ... ok [INFO] [stdout] test db::json_storage::tests::can_update_an_added_item ... ok [INFO] [stdout] Running migration 20191130162424 [INFO] [stdout] Running migration 20191214180004 [INFO] [stdout] Running migration 20191215083712 [INFO] [stdout] Running migration 20191219183138 [INFO] [stdout] Running migration 20200116215023 [INFO] [stdout] Running migration 20200117230523 [INFO] [stdout] test db::json_storage::tests::it_finds_a_repo_that_was_added ... ok [INFO] [stdout] test db::sqlite::test::an_added_tracked_item_can_be_removed ... ok [INFO] [stdout] Running migration 20191130162424 [INFO] [stdout] Running migration 20191214180004 [INFO] [stdout] Running migration 20191215083712 [INFO] [stdout] Running migration 20191219183138 [INFO] [stdout] Running migration 20200116215023 [INFO] [stdout] Running migration 20200117230523 [INFO] [stdout] test db::json_storage::tests::an_added_tracked_item_can_be_removed ... ok [INFO] [stdout] Running migration 20191130162424 [INFO] [stdout] Running migration 20191214180004 [INFO] [stdout] Running migration 20191215083712 [INFO] [stdout] Running migration 20191219183138 [INFO] [stdout] Running migration 20200116215023 [INFO] [stdout] Running migration 20200117230523 [INFO] [stdout] test db::sqlite::test::can_update_an_added_item ... ok [INFO] [stdout] Running migration 20191130162424 [INFO] [stdout] Running migration 20191214180004 [INFO] [stdout] Running migration 20191215083712 [INFO] [stdout] Running migration 20191219183138 [INFO] [stdout] Running migration 20200116215023 [INFO] [stdout] Running migration 20200117230523 [INFO] [stdout] test db::sqlite::test::can_add_an_item_to_a_repo ... ok [INFO] [stdout] test db::sqlite::test::it_finds_a_repo_that_was_added ... ok [INFO] [stdout] Running migration 20191130162424 [INFO] [stdout] Running migration 20191214180004 [INFO] [stdout] Running migration 20191215083712 [INFO] [stdout] Running migration 20191219183138 [INFO] [stdout] Running migration 20200116215023 [INFO] [stdout] Running migration 20200117230523 [INFO] [stdout] test db::sqlite::test::a_deleted_item_can_not_be_found ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 25 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "c184eac5da8e861185fc000fc16bbd19c477a020f6e13c8e390c3ebc57d5e502"` [INFO] running `"docker" "rm" "-f" "c184eac5da8e861185fc000fc16bbd19c477a020f6e13c8e390c3ebc57d5e502"` [INFO] [stdout] c184eac5da8e861185fc000fc16bbd19c477a020f6e13c8e390c3ebc57d5e502