[INFO] fetching crate hnapi 0.3.0... [INFO] testing hnapi-0.3.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate hnapi 0.3.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate hnapi 0.3.0 [INFO] finished tweaking crates.io crate hnapi 0.3.0 [INFO] tweaked toml for crates.io crate hnapi 0.3.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hnapi 0.3.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 263 packages to latest compatible versions [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.13.2) [INFO] [stderr] Adding scraper v0.12.0 (available: v0.26.0) [INFO] [stderr] Adding serial_test v0.5.1 (available: v3.4.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded scraper v0.12.0 [INFO] [stderr] Downloaded phf_macros v0.8.0 [INFO] [stderr] Downloaded servo_arc v0.1.1 [INFO] [stderr] Downloaded thin-slice v0.1.1 [INFO] [stderr] Downloaded selectors v0.22.0 [INFO] [stderr] Downloaded ego-tree v0.6.3 [INFO] [stderr] Downloaded cookie_store v0.20.0 [INFO] [stderr] Downloaded markup5ever v0.10.1 [INFO] [stderr] Downloaded html5ever v0.25.2 [INFO] [stderr] Downloaded serial_test v0.5.1 [INFO] [stderr] Downloaded cssparser v0.27.2 [INFO] [stderr] Downloaded serial_test_derive v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b8119616f4acda901ba0dff2e0b0a0c0ef8b8088068b5dd04706c091897a8eff [INFO] running `Command { std: "docker" "start" "-a" "b8119616f4acda901ba0dff2e0b0a0c0ef8b8088068b5dd04706c091897a8eff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8119616f4acda901ba0dff2e0b0a0c0ef8b8088068b5dd04706c091897a8eff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8119616f4acda901ba0dff2e0b0a0c0ef8b8088068b5dd04706c091897a8eff", kill_on_drop: false }` [INFO] [stdout] b8119616f4acda901ba0dff2e0b0a0c0ef8b8088068b5dd04706c091897a8eff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2110cf944075d453e215f0dd1e1536bfb7e6b7a37f34e32ee883fbf51017ea6 [INFO] running `Command { std: "docker" "start" "-a" "a2110cf944075d453e215f0dd1e1536bfb7e6b7a37f34e32ee883fbf51017ea6", kill_on_drop: false }` [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling siphasher v1.0.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling tokio v1.51.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling num-conv v0.2.1 [INFO] [stderr] Compiling deranged v0.5.8 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling dtoa v1.0.11 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling openssl v0.10.76 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling psl-types v2.0.11 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling servo_arc v0.1.1 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling thin-slice v0.1.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling getopts v0.2.24 [INFO] [stderr] Compiling ego-tree v0.6.3 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling cssparser v0.27.2 [INFO] [stderr] Compiling html5ever v0.25.2 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling publicsuffix v2.3.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling cookie_store v0.20.0 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling markup5ever v0.10.1 [INFO] [stderr] Compiling selectors v0.22.0 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling scraper v0.12.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling hnapi v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.09s [INFO] running `Command { std: "docker" "inspect" "a2110cf944075d453e215f0dd1e1536bfb7e6b7a37f34e32ee883fbf51017ea6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2110cf944075d453e215f0dd1e1536bfb7e6b7a37f34e32ee883fbf51017ea6", kill_on_drop: false }` [INFO] [stdout] a2110cf944075d453e215f0dd1e1536bfb7e6b7a37f34e32ee883fbf51017ea6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd25d39b8d344bf00157263edf98411af799f5b02d18aad5089dd06161f30cb5 [INFO] running `Command { std: "docker" "start" "-a" "bd25d39b8d344bf00157263edf98411af799f5b02d18aad5089dd06161f30cb5", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling serial_test_derive v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling serial_test v0.5.1 [INFO] [stderr] Compiling hnapi v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/lib.rs:555:45 [INFO] [stdout] | [INFO] [stdout] 555 | assert_eq!(user.created, NaiveDate::from_ymd(2019, 2, 16)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.30s [INFO] running `Command { std: "docker" "inspect" "bd25d39b8d344bf00157263edf98411af799f5b02d18aad5089dd06161f30cb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd25d39b8d344bf00157263edf98411af799f5b02d18aad5089dd06161f30cb5", kill_on_drop: false }` [INFO] [stdout] bd25d39b8d344bf00157263edf98411af799f5b02d18aad5089dd06161f30cb5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bf04e9c06e13a89aeeb3cd7cd95830cd76d3bc62f9adc90e43a0d226361babe6 [INFO] running `Command { std: "docker" "start" "-a" "bf04e9c06e13a89aeeb3cd7cd95830cd76d3bc62f9adc90e43a0d226361babe6", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stderr] --> src/lib.rs:555:45 [INFO] [stderr] | [INFO] [stderr] 555 | assert_eq!(user.created, NaiveDate::from_ymd(2019, 2, 16)); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `hnapi` (lib test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hnapi-de66a6c33c908bad) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test tests::user_details_returns_details_for_existent_id ... FAILED [INFO] [stdout] test tests::top_stories_return_something ... FAILED [INFO] [stdout] test tests::story_details_return_something ... FAILED [INFO] [stdout] test tests::user_details_returns_none_for_nonexistent_id ... FAILED [INFO] [stdout] test tests::story_details_return_something_with_text ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::user_details_returns_details_for_existent_id stdout ---- [INFO] [stdout] Error: reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("news.ycombinator.com")), port: None, path: "/user", query: Some("id=scastiel"), fragment: None }, source: hyper::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Temporary failure in name resolution" })) } [INFO] [stdout] [INFO] [stdout] ---- tests::top_stories_return_something stdout ---- [INFO] [stdout] Error: reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("news.ycombinator.com")), port: None, path: "/news", query: Some("p=1"), fragment: None }, source: hyper::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Temporary failure in name resolution" })) } [INFO] [stdout] [INFO] [stdout] ---- tests::story_details_return_something stdout ---- [INFO] [stdout] Error: reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("news.ycombinator.com")), port: None, path: "/item", query: Some("id=27883047"), fragment: None }, source: hyper::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Temporary failure in name resolution" })) } [INFO] [stdout] [INFO] [stdout] ---- tests::user_details_returns_none_for_nonexistent_id stdout ---- [INFO] [stdout] Error: reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("news.ycombinator.com")), port: None, path: "/user", query: Some("id=ihopethisusernamedoesnotexist"), fragment: None }, source: hyper::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Temporary failure in name resolution" })) } [INFO] [stdout] [INFO] [stdout] ---- tests::story_details_return_something_with_text stdout ---- [INFO] [stdout] Error: reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("news.ycombinator.com")), port: None, path: "/item", query: Some("id=29246573"), fragment: None }, source: hyper::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Temporary failure in name resolution" })) } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::story_details_return_something [INFO] [stdout] tests::story_details_return_something_with_text [INFO] [stdout] tests::top_stories_return_something [INFO] [stdout] tests::user_details_returns_details_for_existent_id [INFO] [stdout] tests::user_details_returns_none_for_nonexistent_id [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.54s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "bf04e9c06e13a89aeeb3cd7cd95830cd76d3bc62f9adc90e43a0d226361babe6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf04e9c06e13a89aeeb3cd7cd95830cd76d3bc62f9adc90e43a0d226361babe6", kill_on_drop: false }` [INFO] [stdout] bf04e9c06e13a89aeeb3cd7cd95830cd76d3bc62f9adc90e43a0d226361babe6