[INFO] fetching crate hnapi 0.3.0... [INFO] testing hnapi-0.3.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate hnapi 0.3.0 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hnapi 0.3.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 255 packages to latest compatible versions [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.24) [INFO] [stderr] Adding scraper v0.12.0 (available: v0.24.0) [INFO] [stderr] Adding serial_test v0.5.1 (available: v3.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded scraper v0.12.0 [INFO] [stderr] Downloaded serial_test_derive v0.5.1 [INFO] [stderr] Downloaded serial_test v0.5.1 [INFO] [stderr] Downloaded markup5ever v0.10.1 [INFO] [stderr] Downloaded html5ever v0.25.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c07e76d284d8b5be3144c5d7a61a2ecd862c3479928f6e3be2ce7638635c9de1 [INFO] running `Command { std: "docker" "start" "-a" "c07e76d284d8b5be3144c5d7a61a2ecd862c3479928f6e3be2ce7638635c9de1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c07e76d284d8b5be3144c5d7a61a2ecd862c3479928f6e3be2ce7638635c9de1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c07e76d284d8b5be3144c5d7a61a2ecd862c3479928f6e3be2ce7638635c9de1", kill_on_drop: false }` [INFO] [stdout] c07e76d284d8b5be3144c5d7a61a2ecd862c3479928f6e3be2ce7638635c9de1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25cafd7b4fc03af07e88b8174562c804093d4816c96037193a738efdb45d6c84 [INFO] running `Command { std: "docker" "start" "-a" "25cafd7b4fc03af07e88b8174562c804093d4816c96037193a738efdb45d6c84", kill_on_drop: false }` [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Compiling cssparser v0.27.2 [INFO] [stderr] Compiling dtoa v1.0.10 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling html5ever v0.25.2 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling servo_arc v0.1.1 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling thin-slice v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling getopts v0.2.24 [INFO] [stderr] Compiling ego-tree v0.6.3 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling idna v1.1.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 url v2.5.7 [INFO] [stderr] Compiling publicsuffix v2.3.0 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling cookie_store v0.20.0 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling scraper v0.12.0 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling hyper v0.14.32 [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 36.25s [INFO] running `Command { std: "docker" "inspect" "25cafd7b4fc03af07e88b8174562c804093d4816c96037193a738efdb45d6c84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25cafd7b4fc03af07e88b8174562c804093d4816c96037193a738efdb45d6c84", kill_on_drop: false }` [INFO] [stdout] 25cafd7b4fc03af07e88b8174562c804093d4816c96037193a738efdb45d6c84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc4b8129fc84cf87f826fd3dc6dde3b9c2f20e722f52dc684d5e5e95e914cbba [INFO] running `Command { std: "docker" "start" "-a" "dc4b8129fc84cf87f826fd3dc6dde3b9c2f20e722f52dc684d5e5e95e914cbba", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling instant v0.1.13 [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.01s [INFO] running `Command { std: "docker" "inspect" "dc4b8129fc84cf87f826fd3dc6dde3b9c2f20e722f52dc684d5e5e95e914cbba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc4b8129fc84cf87f826fd3dc6dde3b9c2f20e722f52dc684d5e5e95e914cbba", kill_on_drop: false }` [INFO] [stdout] dc4b8129fc84cf87f826fd3dc6dde3b9c2f20e722f52dc684d5e5e95e914cbba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4a736cd14f4bbb4261b6aa50cf4e0d8b8b2a9efebbfc7d2ea19126bf00eca147 [INFO] running `Command { std: "docker" "start" "-a" "4a736cd14f4bbb4261b6aa50cf4e0d8b8b2a9efebbfc7d2ea19126bf00eca147", 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.29s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hnapi-22deb2d0c45bceb4) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test tests::story_details_return_something ... FAILED [INFO] [stdout] test tests::story_details_return_something_with_text ... FAILED [INFO] [stdout] test tests::top_stories_return_something ... FAILED [INFO] [stdout] test tests::user_details_returns_none_for_nonexistent_id ... FAILED [INFO] [stdout] test tests::user_details_returns_details_for_existent_id ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [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::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] ---- 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::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::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] [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.66s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "4a736cd14f4bbb4261b6aa50cf4e0d8b8b2a9efebbfc7d2ea19126bf00eca147", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a736cd14f4bbb4261b6aa50cf4e0d8b8b2a9efebbfc7d2ea19126bf00eca147", kill_on_drop: false }` [INFO] [stdout] 4a736cd14f4bbb4261b6aa50cf4e0d8b8b2a9efebbfc7d2ea19126bf00eca147