[INFO] fetching crate treq 1.2.0... [INFO] testing treq-1.2.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate treq 1.2.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate treq 1.2.0 [INFO] finished tweaking crates.io crate treq 1.2.0 [INFO] tweaked toml for crates.io crate treq 1.2.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate treq 1.2.0 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 treq 1.2.0 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 6cbf755039a9bdb375cffa0b2b9299e231d15c12ed0063e63a324ae530840257 [INFO] running `Command { std: "docker" "start" "-a" "6cbf755039a9bdb375cffa0b2b9299e231d15c12ed0063e63a324ae530840257", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6cbf755039a9bdb375cffa0b2b9299e231d15c12ed0063e63a324ae530840257", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cbf755039a9bdb375cffa0b2b9299e231d15c12ed0063e63a324ae530840257", kill_on_drop: false }` [INFO] [stdout] 6cbf755039a9bdb375cffa0b2b9299e231d15c12ed0063e63a324ae530840257 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 95c4dd08339b5c148872925127b8b96aa8b940150c26bd83eabb128ded85d6a3 [INFO] running `Command { std: "docker" "start" "-a" "95c4dd08339b5c148872925127b8b96aa8b940150c26bd83eabb128ded85d6a3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling predicates-core v1.0.6 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling anstyle-parse v0.2.2 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling anstream v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling console v0.15.7 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling termtree v0.4.1 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling predicates-tree v1.0.9 [INFO] [stderr] Compiling clap_builder v4.4.7 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling fragile v2.0.0 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling uuid v1.5.0 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling tempfile v3.9.0 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Compiling indicatif v0.17.7 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.190 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling predicates v2.1.5 [INFO] [stderr] Compiling predicates v3.1.0 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling clap v4.4.7 [INFO] [stderr] Compiling mockall_derive v0.11.4 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling mockall v0.11.4 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.22 [INFO] [stderr] Compiling treq v1.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 03s [INFO] running `Command { std: "docker" "inspect" "95c4dd08339b5c148872925127b8b96aa8b940150c26bd83eabb128ded85d6a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95c4dd08339b5c148872925127b8b96aa8b940150c26bd83eabb128ded85d6a3", kill_on_drop: false }` [INFO] [stdout] 95c4dd08339b5c148872925127b8b96aa8b940150c26bd83eabb128ded85d6a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 26d41ea3a7e99553a215e11e55bbfda235011fd7fa08f044dda5675df9997c50 [INFO] running `Command { std: "docker" "start" "-a" "26d41ea3a7e99553a215e11e55bbfda235011fd7fa08f044dda5675df9997c50", kill_on_drop: false }` [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling similar v2.4.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling insta v1.34.0 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling bstr v1.8.0 [INFO] [stderr] Compiling predicates v2.1.5 [INFO] [stderr] Compiling predicates v3.1.0 [INFO] [stderr] Compiling mockall v0.11.4 [INFO] [stderr] Compiling treq v1.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling assert_cmd v2.0.13 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 17.98s [INFO] running `Command { std: "docker" "inspect" "26d41ea3a7e99553a215e11e55bbfda235011fd7fa08f044dda5675df9997c50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26d41ea3a7e99553a215e11e55bbfda235011fd7fa08f044dda5675df9997c50", kill_on_drop: false }` [INFO] [stdout] 26d41ea3a7e99553a215e11e55bbfda235011fd7fa08f044dda5675df9997c50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 585df2714302306329fd9a7b4c415443ecb01fa90977fe17fb915a055e6f58cd [INFO] running `Command { std: "docker" "start" "-a" "585df2714302306329fd9a7b4c415443ecb01fa90977fe17fb915a055e6f58cd", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/treq-4acb0040ed5d82d3) [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test app::services::request::entities::url::tests_url::test_url_data_to_string ... ok [INFO] [stdout] test view::input::cli_definition::tests::test_basic_defatult_request ... ok [INFO] [stdout] test view::input::cli_definition::tests::test_basic_default_request_with_request_items ... ok [INFO] [stdout] test view::input::validators::url_alias::tests::test_alias_url_to_localhost ... ok [INFO] [stdout] test view::input_parsers::request_data::tests_parsers_request_items::test_body_value_with_base_body_as_raw ... ok [INFO] [stdout] test view::input_parsers::request_data::tests_parsers_request_items::test_non_string_body_value_nested ... ok [INFO] [stdout] test view::input_parsers::request_data::tests_parsers_request_items::test_body_value_with_base_body_none ... ok [INFO] [stdout] test view::input::cli_definition::tests::test_basic_get_request ... ok [INFO] [stdout] test view::input_parsers::request_data::tests_parsers_request_items::test_non_string_body_value_with_string_only ... ok [INFO] [stdout] test view::input::cli_definition::tests::test_basic_get_request_with_request_items ... ok [INFO] [stdout] test view::input_parsers::request_data::tests_parsers_request_items::test_body_value_append ... ok [INFO] [stdout] test view::input::validators::url_alias::tests::test_alias_url_to_localhost_with_not_match_urls ... ok [INFO] [stdout] test view::input_parsers::request_data::tests_parsers_request_items::test_body_value_append_overwrite ... ok [INFO] [stdout] test view::input_parsers::request_data::tests_parsers_request_items::test_nested_body_value_basic ... ok [INFO] [stdout] test view::input_parsers::request_data::tests_parsers_request_items::test_nested_body_value_overwriting_fields ... ok [INFO] [stdout] test view::input_parsers::request_data::tests_parsers_request_items::test_non_string_body_value_basic ... ok [INFO] [stdout] test view::input::cli_definition::tests::test_basic_post_request ... ok [INFO] [stdout] test app::services::request::entities::url::tests_url::test_variants_url_from_str_to_struct ... ok [INFO] [stdout] test app::services::request::entities::url::tests_url::test_basic_url_from_str_to_struct ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/treq-7772ab6cda658263) [INFO] [stderr] Running tests/mod.rs (/opt/rustwide/target/debug/deps/mod-d6d169fb3ca2aac2) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test view::map_input_to_commands::should_error_if_no_input ... ok [INFO] [stdout] test services::web::test_basic_call_get ... ok [INFO] [stdout] test services::request::test_edit_single_request ... ok [INFO] [stdout] test services::request::test_delete_single_request ... ok [INFO] [stdout] test services::request::test_create_single_request ... ok [INFO] [stdout] test integration::cli_commands::should_submit_a_request_after_saved ... ok [INFO] [stdout] test services::request::test_rollback_single_request ... ok [INFO] [stdout] test integration::cli_commands::should_submit_a_basic_request ... ok [INFO] [stdout] test view::map_input_to_commands::should_parse_same_way_with_or_without_protocol_in_url ... ok [INFO] [stdout] test view::map_input_to_commands::should_parse_number_json ... ok [INFO] [stdout] test view::map_input_to_commands::should_parse_boolean_json ... ok [INFO] [stdout] test view::map_input_to_commands::should_merge_inputs_of_raw_flag_and_param_body ... ok [INFO] [stdout] test view::map_input_to_commands::should_parse_body_values_with_nested_json_too ... ok [INFO] [stdout] test view::map_input_to_commands::should_parse_combine_json ... ok [INFO] [stdout] test view::map_input_to_commands::should_ignore_body_inputs_in_GET_request ... ok [INFO] [stdout] test view::map_input_to_commands::should_parse_to_normal_GET_submit_without_passing_method_as_subcommand_and_no_body ... ok [INFO] [stdout] test view::map_input_to_commands::should_validate_alias_for_localhost_requests_with_manual_url ... ok [INFO] [stdout] test view::map_input_to_commands::should_parse_to_normal_POST_submit_without_passing_method_as_subcommand_but_passing_some_body_data ... ok [INFO] [stdout] test view::map_input_to_commands::should_set_query_params_by_request_items ... ok [INFO] [stdout] test view::map_input_to_commands::should_validate_if_error_on_raw_value_as_not_map_and_body_insert ... ok [INFO] [stdout] test view::map_input_to_commands::should_raw_flag_work_equal_param_body_definition ... ok [INFO] [stdout] test view::map_input_to_commands::should_validate_alias_for_localhost_requests ... ok [INFO] [stdout] test view::map_input_to_commands::should_parse_all_methods_subcommands_to_normal_submits ... ok [INFO] [stdout] test view::map_input_to_commands::should_execute_with_valid_urls ... ok [INFO] [stderr] Doc-tests treq [INFO] [stdout] [INFO] [stdout] test result: ok. 24 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "585df2714302306329fd9a7b4c415443ecb01fa90977fe17fb915a055e6f58cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "585df2714302306329fd9a7b4c415443ecb01fa90977fe17fb915a055e6f58cd", kill_on_drop: false }` [INFO] [stdout] 585df2714302306329fd9a7b4c415443ecb01fa90977fe17fb915a055e6f58cd