[INFO] fetching crate hnapi 0.3.0... [INFO] testing hnapi-0.3.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate hnapi 0.3.0 into /workspace/builds/worker-7-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hnapi 0.3.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 256 packages to latest compatible versions [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.23) [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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aaa5bb35cb87fa5c2c107d4af9bf494cd157901c21ab8c1ac803a67c071d1f62 [INFO] running `Command { std: "docker" "start" "-a" "aaa5bb35cb87fa5c2c107d4af9bf494cd157901c21ab8c1ac803a67c071d1f62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aaa5bb35cb87fa5c2c107d4af9bf494cd157901c21ab8c1ac803a67c071d1f62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aaa5bb35cb87fa5c2c107d4af9bf494cd157901c21ab8c1ac803a67c071d1f62", kill_on_drop: false }` [INFO] [stdout] aaa5bb35cb87fa5c2c107d4af9bf494cd157901c21ab8c1ac803a67c071d1f62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd59cddd515e3a1aa81bf0fbf7b7390e92fa0fb2c605fd831fedef3d8f4f2c29 [INFO] running `Command { std: "docker" "start" "-a" "bd59cddd515e3a1aa81bf0fbf7b7390e92fa0fb2c605fd831fedef3d8f4f2c29", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling dtoa v1.0.10 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling psl-types v2.0.11 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling servo_arc v0.1.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling thin-slice v0.1.1 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling getopts v0.2.24 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling ego-tree v0.6.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling markup5ever v0.10.1 [INFO] [stderr] Compiling selectors v0.22.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling cssparser v0.27.2 [INFO] [stderr] Compiling html5ever v0.25.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling publicsuffix v2.3.0 [INFO] [stderr] Compiling scraper v0.12.0 [INFO] [stderr] Compiling cookie_store v0.20.0 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [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 1m 01s [INFO] running `Command { std: "docker" "inspect" "bd59cddd515e3a1aa81bf0fbf7b7390e92fa0fb2c605fd831fedef3d8f4f2c29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd59cddd515e3a1aa81bf0fbf7b7390e92fa0fb2c605fd831fedef3d8f4f2c29", kill_on_drop: false }` [INFO] [stdout] bd59cddd515e3a1aa81bf0fbf7b7390e92fa0fb2c605fd831fedef3d8f4f2c29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a074e438869757f4b4082c0ffa1a66b716b5e0a789ed6c9209fdb72ffdb3e8d [INFO] running `Command { std: "docker" "start" "-a" "3a074e438869757f4b4082c0ffa1a66b716b5e0a789ed6c9209fdb72ffdb3e8d", 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 3.92s [INFO] running `Command { std: "docker" "inspect" "3a074e438869757f4b4082c0ffa1a66b716b5e0a789ed6c9209fdb72ffdb3e8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a074e438869757f4b4082c0ffa1a66b716b5e0a789ed6c9209fdb72ffdb3e8d", kill_on_drop: false }` [INFO] [stdout] 3a074e438869757f4b4082c0ffa1a66b716b5e0a789ed6c9209fdb72ffdb3e8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 260ffdf5f76edfd04c9c2d487f8c061df2a5ab278ff508b2f023108534e8c4fa [INFO] running `Command { std: "docker" "start" "-a" "260ffdf5f76edfd04c9c2d487f8c061df2a5ab278ff508b2f023108534e8c4fa", 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.23s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hnapi-4bdd90029ebb723e) [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::user_details_returns_details_for_existent_id ... FAILED [INFO] [stdout] test tests::user_details_returns_none_for_nonexistent_id ... FAILED [INFO] [stdout] test tests::top_stories_return_something ... 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::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::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::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] [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.55s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "260ffdf5f76edfd04c9c2d487f8c061df2a5ab278ff508b2f023108534e8c4fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "260ffdf5f76edfd04c9c2d487f8c061df2a5ab278ff508b2f023108534e8c4fa", kill_on_drop: false }` [INFO] [stdout] 260ffdf5f76edfd04c9c2d487f8c061df2a5ab278ff508b2f023108534e8c4fa