[INFO] fetching crate site_icons 0.1.6... [INFO] testing site_icons-0.1.6 against try#ddc023471205c186b40f4bf8ffb598008dbf4885 for pr-87041-1 [INFO] extracting crate site_icons 0.1.6 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate site_icons 0.1.6 on toolchain ddc023471205c186b40f4bf8ffb598008dbf4885 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddc023471205c186b40f4bf8ffb598008dbf4885" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate site_icons 0.1.6 [INFO] finished tweaking crates.io crate site_icons 0.1.6 [INFO] tweaked toml for crates.io crate site_icons 0.1.6 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate crates.io crate site_icons 0.1.6 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddc023471205c186b40f4bf8ffb598008dbf4885" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio v1.1.1 [INFO] [stderr] Downloaded wasm-streams v0.1.2 [INFO] [stderr] Downloaded reqwest-wasm v0.11.0 [INFO] [stderr] Downloaded serde_with v1.6.2 [INFO] [stderr] Downloaded vec1 v1.6.0 [INFO] [stderr] Downloaded tokio-futures-byteorder v0.2.0 [INFO] [stderr] Downloaded mime_4 v0.4.0-a.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+ddc023471205c186b40f4bf8ffb598008dbf4885" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7561753718d9cb595f1035bbba36779b7eb24eeb2278eea07c221128e31067dc [INFO] running `Command { std: "docker" "start" "-a" "7561753718d9cb595f1035bbba36779b7eb24eeb2278eea07c221128e31067dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7561753718d9cb595f1035bbba36779b7eb24eeb2278eea07c221128e31067dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7561753718d9cb595f1035bbba36779b7eb24eeb2278eea07c221128e31067dc", kill_on_drop: false }` [INFO] [stdout] 7561753718d9cb595f1035bbba36779b7eb24eeb2278eea07c221128e31067dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+ddc023471205c186b40f4bf8ffb598008dbf4885" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8fe67cbb4d1b707c974a498071719c3ffef969fe5a1f7817a5f7e069eca28443 [INFO] running `Command { std: "docker" "start" "-a" "8fe67cbb4d1b707c974a498071719c3ffef969fe5a1f7817a5f7e069eca28443", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling libc v0.2.84 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling pin-project-lite v0.2.4 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-core v0.3.12 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-sink v0.3.12 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling futures-io v0.3.12 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling dtoa v0.4.7 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling ego-tree v0.6.2 [INFO] [stderr] Compiling mime-parse-4 v0.0.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling futures-task v0.3.12 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling thread_local v1.1.2 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling data-url v0.1.0 [INFO] [stderr] Compiling http v0.2.3 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling futures-channel v0.3.12 [INFO] [stderr] Compiling tinyvec v1.1.1 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling textwrap v0.12.1 [INFO] [stderr] Compiling standback v0.2.14 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling time v0.2.25 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling cookie v0.14.3 [INFO] [stderr] Compiling quoted-string v0.2.2 [INFO] [stderr] Compiling itertools v0.10.0 [INFO] [stderr] Compiling tokio v1.1.1 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling dtoa-short v0.3.3 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling tendril v0.4.2 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling mime_4 v0.4.0-a.0 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling parking_lot_core v0.8.2 [INFO] [stderr] Compiling mio v0.7.7 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling tokio-futures-byteorder v0.2.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling http-body v0.4.0 [INFO] [stderr] Compiling env_logger v0.8.2 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Compiling selectors v0.22.0 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling tokio-macros v1.0.0 [INFO] [stderr] Compiling futures-macro v0.3.12 [INFO] [stderr] Compiling async-stream-impl v0.3.0 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.0.4 [INFO] [stderr] Compiling cssparser v0.27.2 [INFO] [stderr] Compiling cssparser-macros v0.6.0 [INFO] [stderr] Compiling html5ever v0.25.1 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling async-stream v0.3.0 [INFO] [stderr] Compiling futures-util v0.3.12 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling serde_with_macros v1.3.0 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling pin-project v1.0.4 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling clap v3.0.0-beta.2 [INFO] [stderr] Compiling futures-executor v0.3.12 [INFO] [stderr] Compiling futures v0.3.12 [INFO] [stderr] Compiling tokio-stream v0.1.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-util v0.6.2 [INFO] [stderr] Compiling h2 v0.3.0 [INFO] [stderr] Compiling string_cache v0.8.1 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling vec1 v1.6.0 [INFO] [stderr] Compiling serde_with v1.6.2 [INFO] [stderr] Compiling publicsuffix v1.5.4 [INFO] [stderr] Compiling hyper v0.14.2 [INFO] [stderr] Compiling cookie_store v0.12.0 [INFO] [stderr] Compiling markup5ever v0.10.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest-wasm v0.11.0 [INFO] [stderr] Compiling scraper v0.12.0 [INFO] [stderr] Compiling site_icons v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `map_into_keys_values` has been stable since 1.54.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(async_closure, map_into_keys_values, bool_to_option)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 49s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: time-macros-impl v0.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 7` [INFO] running `Command { std: "docker" "inspect" "8fe67cbb4d1b707c974a498071719c3ffef969fe5a1f7817a5f7e069eca28443", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fe67cbb4d1b707c974a498071719c3ffef969fe5a1f7817a5f7e069eca28443", kill_on_drop: false }` [INFO] [stdout] 8fe67cbb4d1b707c974a498071719c3ffef969fe5a1f7817a5f7e069eca28443 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+ddc023471205c186b40f4bf8ffb598008dbf4885" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4fbc6d8275d24a7a823811f8723b5a35e60c5c2c5793cf4cd5cb1906c314d214 [INFO] running `Command { std: "docker" "start" "-a" "4fbc6d8275d24a7a823811f8723b5a35e60c5c2c5793cf4cd5cb1906c314d214", kill_on_drop: false }` [INFO] [stdout] warning: the feature `map_into_keys_values` has been stable since 1.54.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(async_closure, map_into_keys_values, bool_to_option)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling site_icons v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `map_into_keys_values` has been stable since 1.54.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(async_closure, map_into_keys_values, bool_to_option)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.58s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: time-macros-impl v0.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 8` [INFO] running `Command { std: "docker" "inspect" "4fbc6d8275d24a7a823811f8723b5a35e60c5c2c5793cf4cd5cb1906c314d214", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fbc6d8275d24a7a823811f8723b5a35e60c5c2c5793cf4cd5cb1906c314d214", kill_on_drop: false }` [INFO] [stdout] 4fbc6d8275d24a7a823811f8723b5a35e60c5c2c5793cf4cd5cb1906c314d214 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+ddc023471205c186b40f4bf8ffb598008dbf4885" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9483da8b898736b8f263d1333e84c7eccaa09f671c61d96c5663274ec0cc38c7 [INFO] running `Command { std: "docker" "start" "-a" "9483da8b898736b8f263d1333e84c7eccaa09f671c61d96c5663274ec0cc38c7", kill_on_drop: false }` [INFO] [stderr] warning: the feature `map_into_keys_values` has been stable since 1.54.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:1:27 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(async_closure, map_into_keys_values, bool_to_option)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `site_icons` (lib) generated 1 warning [INFO] [stderr] warning: `site_icons` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: time-macros-impl v0.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 9` [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/site_icons-5a56ffaf2108ef3d) [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] [stderr] Running unittests (/opt/rustwide/target/debug/deps/site_icons-3b4fdc3a15f33dc2) [INFO] [stdout] [INFO] [stderr] Doc-tests site_icons [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] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/icons.rs - icons::Icons::entries (line 247) ... FAILED [INFO] [stdout] test src/lib.rs - (line 6) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/icons.rs - icons::Icons::entries (line 247) stdout ---- [INFO] [stdout] error: this file contains an unclosed delimiter [INFO] [stdout] --> src/icons.rs:256:39 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_icons_rs_247_0() { [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 11 | } _doctest_main_src_icons_rs_247_0() } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Icons` [INFO] [stdout] --> src/icons.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 4 | let icons = Icons::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use site_icons::Icons; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `println` [INFO] [stdout] --> src/icons.rs:254:3 [INFO] [stdout] | [INFO] [stdout] 9 | println("{:?}", icon) [INFO] [stdout] | ^^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 9 | println!("{:?}", icon) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/icons.rs:250:47 [INFO] [stdout] | [INFO] [stdout] 3 | async fn run() { [INFO] [stdout] | ________________- [INFO] [stdout] 4 | | let icons = Icons::new(); [INFO] [stdout] 5 | | icons.load_website("https://github.com").await?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] 6 | | [INFO] [stdout] ... | [INFO] [stdout] 10 | | } [INFO] [stdout] 11 | | } _doctest_main_src_icons_rs_247_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0423, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 6) stdout ---- [INFO] [stdout] error[E0423]: expected function, found macro `println` [INFO] [stdout] --> src/lib.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 15 | println("{:?}", icon) [INFO] [stdout] | ^^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 15 | println!("{:?}", icon) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_6_0() { [INFO] [stdout] | ---------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 8 | icons.load_website("https://github.com").await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_6_0() { [INFO] [stdout] | ---------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 11 | let entries = icons.entries().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:11:47 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_6_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | use site_icons::Icons; [INFO] [stdout] 5 | | [INFO] [stdout] 6 | | let icons = Icons::new(); [INFO] [stdout] 7 | | // scrape the icons from a url [INFO] [stdout] 8 | | icons.load_website("https://github.com").await?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | } _doctest_main_src_lib_rs_6_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0423, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/icons.rs - icons::Icons::entries (line 247) [INFO] [stdout] src/lib.rs - (line 6) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.15s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "9483da8b898736b8f263d1333e84c7eccaa09f671c61d96c5663274ec0cc38c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9483da8b898736b8f263d1333e84c7eccaa09f671c61d96c5663274ec0cc38c7", kill_on_drop: false }` [INFO] [stdout] 9483da8b898736b8f263d1333e84c7eccaa09f671c61d96c5663274ec0cc38c7