[INFO] cloning repository https://github.com/nordic16/tfetch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nordic16/tfetch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnordic16%2Ftfetch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnordic16%2Ftfetch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fc79d535f59ee84883d9255317976ceadcedc5c9 [INFO] testing nordic16/tfetch against try#17092ad00ed8fe1e7f81a7e38238ff70779034b1 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnordic16%2Ftfetch" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nordic16/tfetch on toolchain 17092ad00ed8fe1e7f81a7e38238ff70779034b1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nordic16/tfetch [INFO] finished tweaking git repo https://github.com/nordic16/tfetch [INFO] tweaked toml for git repo https://github.com/nordic16/tfetch written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/nordic16/tfetch 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" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d211ac21eaf5d23deae8769c1d9b96aee03b91fa51106f2ff9360df6743fb193 [INFO] running `Command { std: "docker" "start" "-a" "d211ac21eaf5d23deae8769c1d9b96aee03b91fa51106f2ff9360df6743fb193", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d211ac21eaf5d23deae8769c1d9b96aee03b91fa51106f2ff9360df6743fb193", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d211ac21eaf5d23deae8769c1d9b96aee03b91fa51106f2ff9360df6743fb193", kill_on_drop: false }` [INFO] [stdout] d211ac21eaf5d23deae8769c1d9b96aee03b91fa51106f2ff9360df6743fb193 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46849d32f1b2c4f99e8239902c149bb237ab6ced879a438939274cf4953ab86d [INFO] running `Command { std: "docker" "start" "-a" "46849d32f1b2c4f99e8239902c149bb237ab6ced879a438939274cf4953ab86d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling cc v1.2.10 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling string_cache_codegen v0.4.4 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.137 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling string_cache v0.7.5 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling portable-atomic v1.10.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling rustls-pki-types v1.10.1 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling console v0.15.10 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling indicatif v0.17.9 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling html5ever v0.22.5 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling markup5ever v0.7.5 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling soup v0.5.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v1.5.2 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling tfetch v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/providers/braflix.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `results` [INFO] [stdout] --> src/cli/tfetch.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let results = Braflix::fetch_results(&client, &query).await?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `url` are never read [INFO] [stdout] --> src/cli/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Media { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 11 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/providers/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | async fn fetch_results(client: &Client, query: &str) -> anyhow::Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 8 - async fn fetch_results(client: &Client, query: &str) -> anyhow::Result>; [INFO] [stdout] 8 + fn fetch_results(client: &Client, query: &str) -> impl std::future::Future>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 33s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: html5ever v0.22.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "46849d32f1b2c4f99e8239902c149bb237ab6ced879a438939274cf4953ab86d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46849d32f1b2c4f99e8239902c149bb237ab6ced879a438939274cf4953ab86d", kill_on_drop: false }` [INFO] [stdout] 46849d32f1b2c4f99e8239902c149bb237ab6ced879a438939274cf4953ab86d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92a16eedc6114997ba01352d47ebbae0eb688e7b2f3af23eae1f060c814037d4 [INFO] running `Command { std: "docker" "start" "-a" "92a16eedc6114997ba01352d47ebbae0eb688e7b2f3af23eae1f060c814037d4", kill_on_drop: false }` [INFO] [stderr] Compiling tfetch v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/providers/braflix.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `results` [INFO] [stdout] --> src/cli/tfetch.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let results = Braflix::fetch_results(&client, &query).await?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `url` are never read [INFO] [stdout] --> src/cli/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Media { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 11 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/providers/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | async fn fetch_results(client: &Client, query: &str) -> anyhow::Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 8 - async fn fetch_results(client: &Client, query: &str) -> anyhow::Result>; [INFO] [stdout] 8 + fn fetch_results(client: &Client, query: &str) -> impl std::future::Future>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.85s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: html5ever v0.22.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "92a16eedc6114997ba01352d47ebbae0eb688e7b2f3af23eae1f060c814037d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92a16eedc6114997ba01352d47ebbae0eb688e7b2f3af23eae1f060c814037d4", kill_on_drop: false }` [INFO] [stdout] 92a16eedc6114997ba01352d47ebbae0eb688e7b2f3af23eae1f060c814037d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 317ceee9e0e44c2d39fba45ca8f9b5be1e5c466dda5603b2f9253cc82500e0dc [INFO] running `Command { std: "docker" "start" "-a" "317ceee9e0e44c2d39fba45ca8f9b5be1e5c466dda5603b2f9253cc82500e0dc", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::rc::Rc` [INFO] [stderr] --> src/providers/braflix.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::rc::Rc; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `results` [INFO] [stderr] --> src/cli/tfetch.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | let results = Braflix::fetch_results(&client, &query).await?; [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `name` and `url` are never read [INFO] [stderr] --> src/cli/mod.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct Media { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 11 | name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 12 | url: String, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/providers/mod.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | async fn fetch_results(client: &Client, query: &str) -> anyhow::Result>; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 8 - async fn fetch_results(client: &Client, query: &str) -> anyhow::Result>; [INFO] [stderr] 8 + fn fetch_results(client: &Client, query: &str) -> impl std::future::Future>> + Send; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `tfetch` (bin "tfetch" test) generated 4 warnings (run `cargo fix --bin "tfetch" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: html5ever v0.22.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/tfetch-3c0010c78d1fd75b) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::braflix::fetch_results ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::braflix::fetch_results stdout ---- [INFO] [stdout] Error: error sending request for url (https://braflix.club/search/one%20piece) [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] 0: client error (Connect) [INFO] [stdout] 1: dns error: failed to lookup address information: Temporary failure in name resolution [INFO] [stdout] 2: failed to lookup address information: Temporary failure in name resolution [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: anyhow::error:: for anyhow::Error>::from [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.93/src/backtrace.rs:27:14 [INFO] [stdout] 1: as core::ops::try_trait::FromResidual>>::from_residual [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/result.rs:2050:27 [INFO] [stdout] 2: ::fetch_results::{{closure}} [INFO] [stdout] at ./src/providers/braflix.rs:22:19 [INFO] [stdout] 3: tfetch::tests::braflix::fetch_results::{{closure}} [INFO] [stdout] at ./src/tests/braflix.rs:10:55 [INFO] [stdout] 4: as core::future::future::Future>::poll [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/future/future.rs:124:9 [INFO] [stdout] 5: as core::future::future::Future>::poll [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/future/future.rs:124:9 [INFO] [stdout] 6: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:729:57 [INFO] [stdout] 7: tokio::runtime::coop::with_budget [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/coop.rs:107:5 [INFO] [stdout] 8: tokio::runtime::coop::budget [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/coop.rs:73:5 [INFO] [stdout] 9: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:729:25 [INFO] [stdout] 10: tokio::runtime::scheduler::current_thread::Context::enter [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:428:19 [INFO] [stdout] 11: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:728:36 [INFO] [stdout] 12: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:807:68 [INFO] [stdout] 13: tokio::runtime::context::scoped::Scoped::set [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 14: tokio::runtime::context::set_scheduler::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/context.rs:180:26 [INFO] [stdout] 15: std::thread::local::LocalKey::try_with [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/thread/local.rs:315:12 [INFO] [stdout] 16: std::thread::local::LocalKey::with [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/thread/local.rs:279:15 [INFO] [stdout] 17: tokio::runtime::context::set_scheduler [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/context.rs:180:9 [INFO] [stdout] 18: tokio::runtime::scheduler::current_thread::CoreGuard::enter [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:807:27 [INFO] [stdout] 19: tokio::runtime::scheduler::current_thread::CoreGuard::block_on [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:716:19 [INFO] [stdout] 20: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:196:28 [INFO] [stdout] 21: tokio::runtime::context::runtime::enter_runtime [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 22: tokio::runtime::scheduler::current_thread::CurrentThread::block_on [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:184:9 [INFO] [stdout] 23: tokio::runtime::runtime::Runtime::block_on_inner [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/runtime.rs:368:47 [INFO] [stdout] 24: tokio::runtime::runtime::Runtime::block_on [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/runtime.rs:342:13 [INFO] [stdout] 25: tfetch::tests::braflix::fetch_results [INFO] [stdout] at ./src/tests/braflix.rs:14:5 [INFO] [stdout] 26: tfetch::tests::braflix::fetch_results::{{closure}} [INFO] [stdout] at ./src/tests/braflix.rs:4:29 [INFO] [stdout] 27: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 29: test::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/test/src/lib.rs:648:18 [INFO] [stdout] 30: test::run_test_in_process::{{closure}} [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/test/src/lib.rs:671:60 [INFO] [stdout] 31: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 32: std::panicking::try::do_call [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:589:40 [INFO] [stdout] 33: std::panicking::try [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:552:19 [INFO] [stdout] 34: std::panic::catch_unwind [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panic.rs:359:14 [INFO] [stdout] 35: test::run_test_in_process [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/test/src/lib.rs:671:27 [INFO] [stdout] 36: test::run_test::{{closure}} [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/test/src/lib.rs:592:43 [INFO] [stdout] 37: test::run_test::{{closure}} [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/test/src/lib.rs:622:41 [INFO] [stdout] 38: std::sys::backtrace::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 39: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 40: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 41: std::panicking::try::do_call [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:589:40 [INFO] [stdout] 42: std::panicking::try [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:552:19 [INFO] [stdout] 43: std::panic::catch_unwind [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panic.rs:359:14 [INFO] [stdout] 44: std::thread::Builder::spawn_unchecked_::{{closure}} [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 45: core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 47: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 48: std::sys::pal::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 49: [INFO] [stdout] 50: clone [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::braflix::fetch_results [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin tfetch` [INFO] running `Command { std: "docker" "inspect" "317ceee9e0e44c2d39fba45ca8f9b5be1e5c466dda5603b2f9253cc82500e0dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "317ceee9e0e44c2d39fba45ca8f9b5be1e5c466dda5603b2f9253cc82500e0dc", kill_on_drop: false }` [INFO] [stdout] 317ceee9e0e44c2d39fba45ca8f9b5be1e5c466dda5603b2f9253cc82500e0dc