[INFO] cloning repository https://github.com/joseyose/hackernewsapi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joseyose/hackernewsapi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoseyose%2Fhackernewsapi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoseyose%2Fhackernewsapi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 20b1c374cce38d7fea0890d442ed3370e8c86816 [INFO] testing joseyose/hackernewsapi against try#ed7f3d77595b4831fdf085f2529aa13b5b51ff7d for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoseyose%2Fhackernewsapi" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/joseyose/hackernewsapi on toolchain ed7f3d77595b4831fdf085f2529aa13b5b51ff7d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/joseyose/hackernewsapi [INFO] finished tweaking git repo https://github.com/joseyose/hackernewsapi [INFO] tweaked toml for git repo https://github.com/joseyose/hackernewsapi written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/joseyose/hackernewsapi 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" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c54232635aff2647d1a795bbfa9d223a82232263f84e7f4313df24baacc0dd04 [INFO] running `Command { std: "docker" "start" "-a" "c54232635aff2647d1a795bbfa9d223a82232263f84e7f4313df24baacc0dd04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c54232635aff2647d1a795bbfa9d223a82232263f84e7f4313df24baacc0dd04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c54232635aff2647d1a795bbfa9d223a82232263f84e7f4313df24baacc0dd04", kill_on_drop: false }` [INFO] [stdout] c54232635aff2647d1a795bbfa9d223a82232263f84e7f4313df24baacc0dd04 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b974a12154efe285f964c194123b819efb25cc3996b878190fb087684b800726 [INFO] running `Command { std: "docker" "start" "-a" "b974a12154efe285f964c194123b819efb25cc3996b878190fb087684b800726", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling base64 v0.21.4 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling socket2 v0.5.4 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Compiling tokio v1.33.0 [INFO] [stderr] Compiling tokio-util v0.7.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.22 [INFO] [stderr] Compiling hackernewsapi v0.1.0 (/opt/rustwide/workdir/hackernewsapi) [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> hackernewsapi/src/lib.rs:268:17 [INFO] [stdout] | [INFO] [stdout] 268 | if let Some(code) = code { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stories` is never read [INFO] [stdout] --> hackernewsapi/src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct HackerNewsResponse { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | stories: Option>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HackerNewsResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map_response_err` is never used [INFO] [stdout] --> hackernewsapi/src/lib.rs:267:4 [INFO] [stdout] | [INFO] [stdout] 267 | fn map_response_err(code: Option) -> HackerNewsApiError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hackernews_api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `StoryType` [INFO] [stdout] --> src/main.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use hackernewsapi::{HackerNewsAPI, StoryType}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.63s [INFO] running `Command { std: "docker" "inspect" "b974a12154efe285f964c194123b819efb25cc3996b878190fb087684b800726", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b974a12154efe285f964c194123b819efb25cc3996b878190fb087684b800726", kill_on_drop: false }` [INFO] [stdout] b974a12154efe285f964c194123b819efb25cc3996b878190fb087684b800726 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4704edcee61d9dfa7927221e636bf581a513abd2559b3648ad3adacee8678e10 [INFO] running `Command { std: "docker" "start" "-a" "4704edcee61d9dfa7927221e636bf581a513abd2559b3648ad3adacee8678e10", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> hackernewsapi/src/lib.rs:268:17 [INFO] [stdout] | [INFO] [stdout] 268 | if let Some(code) = code { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stories` is never read [INFO] [stdout] --> hackernewsapi/src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct HackerNewsResponse { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | stories: Option>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HackerNewsResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map_response_err` is never used [INFO] [stdout] --> hackernewsapi/src/lib.rs:267:4 [INFO] [stdout] | [INFO] [stdout] 267 | fn map_response_err(code: Option) -> HackerNewsApiError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hackernews_api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `StoryType` [INFO] [stdout] --> src/main.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use hackernewsapi::{HackerNewsAPI, StoryType}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.51s [INFO] running `Command { std: "docker" "inspect" "4704edcee61d9dfa7927221e636bf581a513abd2559b3648ad3adacee8678e10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4704edcee61d9dfa7927221e636bf581a513abd2559b3648ad3adacee8678e10", kill_on_drop: false }` [INFO] [stdout] 4704edcee61d9dfa7927221e636bf581a513abd2559b3648ad3adacee8678e10 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 40298813aadfaedba9ed631850b2220a6d62f40e2687c57731b1853d5e225290 [INFO] running `Command { std: "docker" "start" "-a" "40298813aadfaedba9ed631850b2220a6d62f40e2687c57731b1853d5e225290", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `code` [INFO] [stderr] --> hackernewsapi/src/lib.rs:268:17 [INFO] [stderr] | [INFO] [stderr] 268 | if let Some(code) = code { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `stories` is never read [INFO] [stderr] --> hackernewsapi/src/lib.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct HackerNewsResponse { [INFO] [stderr] | ------------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 15 | stories: Option>>, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `HackerNewsResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `map_response_err` is never used [INFO] [stderr] --> hackernewsapi/src/lib.rs:267:4 [INFO] [stderr] | [INFO] [stderr] 267 | fn map_response_err(code: Option) -> HackerNewsApiError { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `hackernewsapi` (lib) generated 3 warnings [INFO] [stderr] warning: unused import: `StoryType` [INFO] [stderr] --> src/main.rs:3:36 [INFO] [stderr] | [INFO] [stderr] 3 | use hackernewsapi::{HackerNewsAPI, StoryType}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `hackernews_api` (bin "hackernews_api" test) generated 1 warning (run `cargo fix --bin "hackernews_api" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/hackernews_api-0fac65e0a97da6b3) [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" "40298813aadfaedba9ed631850b2220a6d62f40e2687c57731b1853d5e225290", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40298813aadfaedba9ed631850b2220a6d62f40e2687c57731b1853d5e225290", kill_on_drop: false }` [INFO] [stdout] 40298813aadfaedba9ed631850b2220a6d62f40e2687c57731b1853d5e225290