[INFO] cloning repository https://github.com/CharmedSatyr/rust-link-scraper [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CharmedSatyr/rust-link-scraper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCharmedSatyr%2Frust-link-scraper", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCharmedSatyr%2Frust-link-scraper'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 16382fbb845e0fc7538a01afc8288eb14b0c1c0f [INFO] testing CharmedSatyr/rust-link-scraper against beta-2021-01-01 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCharmedSatyr%2Frust-link-scraper" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CharmedSatyr/rust-link-scraper on toolchain beta-2021-01-01 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CharmedSatyr/rust-link-scraper [INFO] finished tweaking git repo https://github.com/CharmedSatyr/rust-link-scraper [INFO] tweaked toml for git repo https://github.com/CharmedSatyr/rust-link-scraper written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/CharmedSatyr/rust-link-scraper already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cargo-husky v1.4.0 [INFO] [stderr] Downloaded assert-json-diff v1.0.1 [INFO] [stderr] Downloaded mockito v0.21.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 29a5ee48bc373ca55950152b2ced15ed9d61edae1616c54f159e2065b8d1ec98 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "29a5ee48bc373ca55950152b2ced15ed9d61edae1616c54f159e2065b8d1ec98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29a5ee48bc373ca55950152b2ced15ed9d61edae1616c54f159e2065b8d1ec98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29a5ee48bc373ca55950152b2ced15ed9d61edae1616c54f159e2065b8d1ec98", kill_on_drop: false }` [INFO] [stdout] 29a5ee48bc373ca55950152b2ced15ed9d61edae1616c54f159e2065b8d1ec98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] adc88b64a6897deb04c1c46d4b5bd56a4cceacf118755f8244b479d98741499d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "adc88b64a6897deb04c1c46d4b5bd56a4cceacf118755f8244b479d98741499d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling pkg-config v0.3.16 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling miniz_oxide v0.3.3 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling backtrace v0.3.40 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling term v0.6.1 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling openssl-sys v0.9.51 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling flate2 v1.0.12 [INFO] [stderr] Compiling tokio-threadpool v0.1.16 [INFO] [stderr] Compiling tokio-reactor v0.1.10 [INFO] [stderr] Compiling publicsuffix v1.5.3 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling string_cache_codegen v0.4.4 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling openssl v0.10.25 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling string_cache v0.7.4 [INFO] [stderr] Compiling synstructure v0.12.1 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling serde_json v1.0.41 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling markup5ever v0.8.1 [INFO] [stderr] Compiling reqwest v0.9.22 [INFO] [stderr] Compiling html5ever v0.23.0 [INFO] [stderr] Compiling select v0.4.3 [INFO] [stderr] Compiling link-scraper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/parse_links_from_document.rs:5:74 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn parse_links_from_document(document: &Document, base_url: &Url) -> (HashSet) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / error_chain! { [INFO] [stdout] 26 | | foreign_links { [INFO] [stdout] 27 | | ReqError(reqwest::Error); [INFO] [stdout] 28 | | IoError(std::io::Error); [INFO] [stdout] 29 | | } [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / error_chain! { [INFO] [stdout] 26 | | foreign_links { [INFO] [stdout] 27 | | ReqError(reqwest::Error); [INFO] [stdout] 28 | | IoError(std::io::Error); [INFO] [stdout] 29 | | } [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 36s [INFO] running `Command { std: "docker" "inspect" "adc88b64a6897deb04c1c46d4b5bd56a4cceacf118755f8244b479d98741499d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adc88b64a6897deb04c1c46d4b5bd56a4cceacf118755f8244b479d98741499d", kill_on_drop: false }` [INFO] [stdout] adc88b64a6897deb04c1c46d4b5bd56a4cceacf118755f8244b479d98741499d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56f356f761156b182a5a64152016982216d1e01d2451cfb7c373f23c2a3dcd11 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "56f356f761156b182a5a64152016982216d1e01d2451cfb7c373f23c2a3dcd11", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Compiling rgb v0.8.14 [INFO] [stderr] Compiling cargo-husky v1.4.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling assert-json-diff v1.0.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling winconsole v0.10.0 [INFO] [stderr] Compiling colored v1.8.0 [INFO] [stderr] Compiling mockito v0.21.0 [INFO] [stderr] Compiling link-scraper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/parse_links_from_document.rs:5:74 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn parse_links_from_document(document: &Document, base_url: &Url) -> (HashSet) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / error_chain! { [INFO] [stdout] 26 | | foreign_links { [INFO] [stdout] 27 | | ReqError(reqwest::Error); [INFO] [stdout] 28 | | IoError(std::io::Error); [INFO] [stdout] 29 | | } [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / error_chain! { [INFO] [stdout] 26 | | foreign_links { [INFO] [stdout] 27 | | ReqError(reqwest::Error); [INFO] [stdout] 28 | | IoError(std::io::Error); [INFO] [stdout] 29 | | } [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 21.32s [INFO] running `Command { std: "docker" "inspect" "56f356f761156b182a5a64152016982216d1e01d2451cfb7c373f23c2a3dcd11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56f356f761156b182a5a64152016982216d1e01d2451cfb7c373f23c2a3dcd11", kill_on_drop: false }` [INFO] [stdout] 56f356f761156b182a5a64152016982216d1e01d2451cfb7c373f23c2a3dcd11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fd31999fcc86e6b7cb17e065db1f6957a980112a6726d630438a544cf82ee799 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fd31999fcc86e6b7cb17e065db1f6957a980112a6726d630438a544cf82ee799", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/parse_links_from_document.rs:5:74 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn parse_links_from_document(document: &Document, base_url: &Url) -> (HashSet) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | / error_chain! { [INFO] [stderr] 26 | | foreign_links { [INFO] [stderr] 27 | | ReqError(reqwest::Error); [INFO] [stderr] 28 | | IoError(std::io::Error); [INFO] [stderr] 29 | | } [INFO] [stderr] 30 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [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: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | / error_chain! { [INFO] [stderr] 26 | | foreign_links { [INFO] [stderr] 27 | | ReqError(reqwest::Error); [INFO] [stderr] 28 | | IoError(std::io::Error); [INFO] [stderr] 29 | | } [INFO] [stderr] 30 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [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 16.11s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/link_scraper-cbe25f965b59d0a3 [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test get_link_status::tests::get_link_status_should_return_correct_number_of_broken_links_in_hashset ... ok [INFO] [stdout] test add_protocol::tests::add_protocol_adds_https_when_missing_protocol ... ok [INFO] [stdout] test add_protocol::tests::add_protocol_ignores_sites_with_https_protocol ... ok [INFO] [stdout] test add_protocol::tests::add_protocol_ignores_sites_with_http_protocol ... ok [INFO] [stdout] test handle_entry::tests::handle_entry_should_return_response_from_valid_url_input ... ok [INFO] [stdout] test identify_base_url::tests::identify_base_url_should_return_base_url_from_base_url ... ok [INFO] [stdout] test joke::tests::joke_should_return_empty_string_for_other_sites ... ok [INFO] [stdout] test joke::tests::joke_should_return_joke_for_porn_sites ... ok [INFO] [stdout] test read_response::tests::read_response_should_exit_with_message_on_invalid_response ... ok [INFO] [stdout] test tests::main_has_desired_side_effects ... ok [INFO] [stdout] test parse_links_from_document::tests::parse_links_from_document_returns_hashset_of_strings_if_document_contains_links ... ok [INFO] [stdout] test get_link_status::tests::get_link_status_should_return_correct_number_of_good_links_in_hashset ... ok [INFO] [stdout] test handle_entry::tests::handle_entry_should_loop_on_invalid_url_input ... ok [INFO] [stdout] test identify_base_url::tests::identify_base_url_should_return_base_url_from_longer_url ... ok [INFO] [stdout] test read_response::tests::read_response_should_return_url_and_document_from_valid_response ... ok [INFO] [stdout] test get_link_status::tests::get_link_status_should_return_correct_number_of_total_links_in_hashset ... ok [INFO] [stdout] test get_link_status::tests::get_link_status_should_return_correct_number_of_not_links_in_hashset ... ok [INFO] [stdout] test handle_entry::tests::handle_entry_should_exit_on_q_input ... ok [INFO] [stdout] test parse_links_from_document::tests::parse_links_from_document_returns_empty_hashset_if_document_contains_no_links ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fd31999fcc86e6b7cb17e065db1f6957a980112a6726d630438a544cf82ee799", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd31999fcc86e6b7cb17e065db1f6957a980112a6726d630438a544cf82ee799", kill_on_drop: false }` [INFO] [stdout] fd31999fcc86e6b7cb17e065db1f6957a980112a6726d630438a544cf82ee799