[INFO] fetching crate gitcurl 0.2.1... [INFO] testing gitcurl-0.2.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate gitcurl 0.2.1 into /workspace/builds/worker-5-tc2/source [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate gitcurl 0.2.1 [INFO] finished tweaking crates.io crate gitcurl 0.2.1 [INFO] tweaked toml for crates.io crate gitcurl 0.2.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gitcurl 0.2.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate gitcurl 0.2.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c16ea30a789e4a99da0b96f35215ef71b2a47c671e6037738b5bcbbcb1badd0f [INFO] running `Command { std: "docker" "start" "-a" "c16ea30a789e4a99da0b96f35215ef71b2a47c671e6037738b5bcbbcb1badd0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c16ea30a789e4a99da0b96f35215ef71b2a47c671e6037738b5bcbbcb1badd0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c16ea30a789e4a99da0b96f35215ef71b2a47c671e6037738b5bcbbcb1badd0f", kill_on_drop: false }` [INFO] [stdout] c16ea30a789e4a99da0b96f35215ef71b2a47c671e6037738b5bcbbcb1badd0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3dd3a623a30d3ae36e98accfa8f9299f0b041fc97b8c503b0835a6ca53029aa [INFO] running `Command { std: "docker" "start" "-a" "d3dd3a623a30d3ae36e98accfa8f9299f0b041fc97b8c503b0835a6ca53029aa", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling once_cell v1.14.0 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling zstd-safe v4.1.6+zstd.1.5.2 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling base64ct v1.0.1 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling password-hash v0.3.2 [INFO] [stderr] Compiling os_str_bytes v6.3.0 [INFO] [stderr] Compiling textwrap v0.15.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling chunked_transfer v1.4.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling digest v0.10.5 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v3.2.22 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling pbkdf2 v0.10.1 [INFO] [stderr] Compiling time v0.3.14 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling zstd-sys v1.6.3+zstd.1.5.2 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling bzip2 v0.4.3 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling webpki-roots v0.22.4 [INFO] [stderr] Compiling ureq v2.5.0 [INFO] [stderr] Compiling zstd v0.10.2+zstd.1.5.2 [INFO] [stderr] Compiling zip v0.6.2 [INFO] [stderr] Compiling gitcurl v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 58.59s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "d3dd3a623a30d3ae36e98accfa8f9299f0b041fc97b8c503b0835a6ca53029aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3dd3a623a30d3ae36e98accfa8f9299f0b041fc97b8c503b0835a6ca53029aa", kill_on_drop: false }` [INFO] [stdout] d3dd3a623a30d3ae36e98accfa8f9299f0b041fc97b8c503b0835a6ca53029aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73862d9d3659a1f36ef0d117644c9d320e2c437e30ee8bd599a8d8fa51a3afb4 [INFO] running `Command { std: "docker" "start" "-a" "73862d9d3659a1f36ef0d117644c9d320e2c437e30ee8bd599a8d8fa51a3afb4", kill_on_drop: false }` [INFO] [stderr] Compiling gitcurl v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.23s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "73862d9d3659a1f36ef0d117644c9d320e2c437e30ee8bd599a8d8fa51a3afb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73862d9d3659a1f36ef0d117644c9d320e2c437e30ee8bd599a8d8fa51a3afb4", kill_on_drop: false }` [INFO] [stdout] 73862d9d3659a1f36ef0d117644c9d320e2c437e30ee8bd599a8d8fa51a3afb4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 258ab36e381a4f3d4c9592d894eb1f40f0ef28f94daf5c887db45d594d7680ff [INFO] running `Command { std: "docker" "start" "-a" "258ab36e381a4f3d4c9592d894eb1f40f0ef28f94daf5c887db45d594d7680ff", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/gitcurl-d166ab23dfed6ef9) [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test tests::with_repo_data_without_user_name_when_deserialize_input_url_then_fail - should panic ... ok [INFO] [stdout] test tests::with_repo_url_without_repo_name_when_deserialize_input_url_then_fail - should panic ... ok [INFO] [stdout] test tests::with_repo_url_without_user_name_when_deserialize_input_url_then_fail - should panic ... ok [INFO] [stdout] test tests::with_gitlab_repo_url_without_http_scheme_when_deserialize_input_url_then_construct_valid_url ... FAILED [INFO] [stdout] test tests::with_with_on_premise_gitlab_repo_url_without_http_scheme_when_deserialize_input_url_then_construct_valid_url ... FAILED [INFO] [stdout] test tests::with_valid_repo_when_curl_in_memory_then_zip_can_be_extracted ... FAILED [INFO] [stdout] test tests::with_github_full_repo_url_when_deserialize_input_url_then_construct_valid_url ... FAILED [INFO] [stdout] test tests::with_on_premise_gitlab_full_repo_url_when_deserialize_input_url_then_construct_valid_url ... FAILED [INFO] [stdout] test tests::with_gitlab_full_repo_url_when_deserialize_input_url_then_construct_valid_url ... FAILED [INFO] [stdout] test tests::with_github_repo_data_when_deserialize_input_url_then_construct_valid_url ... FAILED [INFO] [stdout] test tests::with_github_repo_url_without_http_scheme_when_deserialize_input_url_then_construct_valid_url ... FAILED [INFO] [stdout] test tests::with_github_full_repo_url_and_git_extension_when_deserialize_input_url_then_construct_valid_url ... FAILED [INFO] [stdout] test tests::with_valid_repo_when_curl_in_memory_then_buffer_not_empty ... FAILED [INFO] [stdout] test tests::with_gitlab_repo_data_when_deserialize_input_url_then_construct_valid_url ... FAILED [INFO] [stdout] test tests::with_valid_repo_when_curl_in_memory_then_buffer_can_be_saved_as_zip ... FAILED [INFO] [stdout] test tests::with_repo_url_without_host_when_deserialize_input_url_then_fail - should panic ... ok [INFO] [stdout] test tests::with_with_on_premise_gitlab_repo_data_when_deserialize_input_url_then_construct_valid_url ... FAILED [INFO] [stdout] test tests::with_repo_data_without_repo_name_when_deserialize_input_url_then_fail - should panic ... ok [INFO] [stderr] error: test failed, to rerun pass `--bin gitcurl` [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::with_gitlab_repo_url_without_http_scheme_when_deserialize_input_url_then_construct_valid_url stdout ---- [INFO] [stdout] Could not resolve host ! [INFO] [stdout] [INFO] [stdout] ---- tests::with_with_on_premise_gitlab_repo_url_without_http_scheme_when_deserialize_input_url_then_construct_valid_url stdout ---- [INFO] [stdout] Could not resolve host ! [INFO] [stdout] [INFO] [stdout] ---- tests::with_valid_repo_when_curl_in_memory_then_zip_can_be_extracted stdout ---- [INFO] [stdout] Could not resolve host ! [INFO] [stdout] [INFO] [stdout] ---- tests::with_github_full_repo_url_when_deserialize_input_url_then_construct_valid_url stdout ---- [INFO] [stdout] Could not resolve host ! [INFO] [stdout] [INFO] [stdout] ---- tests::with_on_premise_gitlab_full_repo_url_when_deserialize_input_url_then_construct_valid_url stdout ---- [INFO] [stdout] Could not resolve host ! [INFO] [stdout] [INFO] [stdout] ---- tests::with_gitlab_full_repo_url_when_deserialize_input_url_then_construct_valid_url stdout ---- [INFO] [stdout] Could not resolve host ! [INFO] [stdout] [INFO] [stdout] ---- tests::with_github_repo_data_when_deserialize_input_url_then_construct_valid_url stdout ---- [INFO] [stdout] Could not resolve host ! [INFO] [stdout] [INFO] [stdout] ---- tests::with_github_repo_url_without_http_scheme_when_deserialize_input_url_then_construct_valid_url stdout ---- [INFO] [stdout] Could not resolve host ! [INFO] [stdout] [INFO] [stdout] ---- tests::with_github_full_repo_url_and_git_extension_when_deserialize_input_url_then_construct_valid_url stdout ---- [INFO] [stdout] Could not resolve host ! [INFO] [stdout] [INFO] [stdout] ---- tests::with_valid_repo_when_curl_in_memory_then_buffer_not_empty stdout ---- [INFO] [stdout] Could not resolve host ! [INFO] [stdout] [INFO] [stdout] ---- tests::with_gitlab_repo_data_when_deserialize_input_url_then_construct_valid_url stdout ---- [INFO] [stdout] Could not resolve host ! [INFO] [stdout] [INFO] [stdout] ---- tests::with_valid_repo_when_curl_in_memory_then_buffer_can_be_saved_as_zip stdout ---- [INFO] [stdout] Could not resolve host ! [INFO] [stdout] [INFO] [stdout] ---- tests::with_with_on_premise_gitlab_repo_data_when_deserialize_input_url_then_construct_valid_url stdout ---- [INFO] [stdout] Could not resolve host ! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::with_github_full_repo_url_and_git_extension_when_deserialize_input_url_then_construct_valid_url [INFO] [stdout] tests::with_github_full_repo_url_when_deserialize_input_url_then_construct_valid_url [INFO] [stdout] tests::with_github_repo_data_when_deserialize_input_url_then_construct_valid_url [INFO] [stdout] tests::with_github_repo_url_without_http_scheme_when_deserialize_input_url_then_construct_valid_url [INFO] [stdout] tests::with_gitlab_full_repo_url_when_deserialize_input_url_then_construct_valid_url [INFO] [stdout] tests::with_gitlab_repo_data_when_deserialize_input_url_then_construct_valid_url [INFO] [stdout] tests::with_gitlab_repo_url_without_http_scheme_when_deserialize_input_url_then_construct_valid_url [INFO] [stdout] tests::with_on_premise_gitlab_full_repo_url_when_deserialize_input_url_then_construct_valid_url [INFO] [stdout] tests::with_valid_repo_when_curl_in_memory_then_buffer_can_be_saved_as_zip [INFO] [stdout] tests::with_valid_repo_when_curl_in_memory_then_buffer_not_empty [INFO] [stdout] tests::with_valid_repo_when_curl_in_memory_then_zip_can_be_extracted [INFO] [stdout] tests::with_with_on_premise_gitlab_repo_data_when_deserialize_input_url_then_construct_valid_url [INFO] [stdout] tests::with_with_on_premise_gitlab_repo_url_without_http_scheme_when_deserialize_input_url_then_construct_valid_url [INFO] [stdout] [INFO] [stdout] test result: FAILED. 5 passed; 13 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "258ab36e381a4f3d4c9592d894eb1f40f0ef28f94daf5c887db45d594d7680ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "258ab36e381a4f3d4c9592d894eb1f40f0ef28f94daf5c887db45d594d7680ff", kill_on_drop: false }` [INFO] [stdout] 258ab36e381a4f3d4c9592d894eb1f40f0ef28f94daf5c887db45d594d7680ff