[INFO] fetching crate i18n-embed 0.13.0... [INFO] testing i18n-embed-0.13.0 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate i18n-embed 0.13.0 into /workspace/builds/worker-76/source [INFO] validating manifest of crates.io crate i18n-embed 0.13.0 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate i18n-embed 0.13.0 [INFO] finished tweaking crates.io crate i18n-embed 0.13.0 [INFO] tweaked toml for crates.io crate i18n-embed 0.13.0 written to /workspace/builds/worker-76/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded locale_config v0.3.0 [INFO] [stderr] Downloaded gettext v0.4.0 [INFO] [stderr] Downloaded tr v0.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6bb773d8da41d2ba7d2143a9ab17bfaae5e9cd16d2dcd87db77ce28f765e6889 [INFO] running `Command { std: "docker" "start" "-a" "6bb773d8da41d2ba7d2143a9ab17bfaae5e9cd16d2dcd87db77ce28f765e6889", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6bb773d8da41d2ba7d2143a9ab17bfaae5e9cd16d2dcd87db77ce28f765e6889", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bb773d8da41d2ba7d2143a9ab17bfaae5e9cd16d2dcd87db77ce28f765e6889", kill_on_drop: false }` [INFO] [stdout] 6bb773d8da41d2ba7d2143a9ab17bfaae5e9cd16d2dcd87db77ce28f765e6889 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8b7c93cd6ebbafe6e2b5241a8411715cc257a2d194704efb12469f616483191 [INFO] running `Command { std: "docker" "start" "-a" "b8b7c93cd6ebbafe6e2b5241a8411715cc257a2d194704efb12469f616483191", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling tinystr v0.3.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling type-map v0.4.0 [INFO] [stderr] Compiling unic-langid-impl v0.9.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling unic-langid v0.9.0 [INFO] [stderr] Compiling fluent-langneg v0.13.0 [INFO] [stderr] Compiling intl-memoizer v0.5.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling rust-embed-utils v7.0.0 [INFO] [stderr] Compiling rust-embed-impl v6.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling rust-embed v6.2.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling i18n-embed v0.13.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.39s [INFO] running `Command { std: "docker" "inspect" "b8b7c93cd6ebbafe6e2b5241a8411715cc257a2d194704efb12469f616483191", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8b7c93cd6ebbafe6e2b5241a8411715cc257a2d194704efb12469f616483191", kill_on_drop: false }` [INFO] [stdout] b8b7c93cd6ebbafe6e2b5241a8411715cc257a2d194704efb12469f616483191 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 792ae577a02dd76891b8e6505d27621a9acdba84c0ec0b4c90fbf1a0be6477ae [INFO] running `Command { std: "docker" "start" "-a" "792ae577a02dd76891b8e6505d27621a9acdba84c0ec0b4c90fbf1a0be6477ae", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling pretty_assertions v0.7.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling i18n-embed v0.13.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.24s [INFO] running `Command { std: "docker" "inspect" "792ae577a02dd76891b8e6505d27621a9acdba84c0ec0b4c90fbf1a0be6477ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "792ae577a02dd76891b8e6505d27621a9acdba84c0ec0b4c90fbf1a0be6477ae", kill_on_drop: false }` [INFO] [stdout] 792ae577a02dd76891b8e6505d27621a9acdba84c0ec0b4c90fbf1a0be6477ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1b9f814bd006dfec9d203ff901a17d1af656bc3ea8e01a19925e87f14873f00e [INFO] running `Command { std: "docker" "start" "-a" "1b9f814bd006dfec9d203ff901a17d1af656bc3ea8e01a19925e87f14873f00e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.57s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/i18n_embed-28121b4b8bb33fe1) [INFO] [stderr] Running tests/loader.rs (/opt/rustwide/target/debug/deps/loader-85eef20fde9341f7) [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] [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] Doc-tests i18n-embed [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/lib.rs - (line 491) ... FAILED [INFO] [stdout] test src/lib.rs - (line 242) ... FAILED [INFO] [stdout] test src/lib.rs - (line 344) ... FAILED [INFO] [stdout] test src/lib.rs - (line 205) ... FAILED [INFO] [stdout] test src/lib.rs - (line 108) ... FAILED [INFO] [stdout] test src/lib.rs - (line 299) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 491) stdout ---- [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/lib.rs:497:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(RustEmbed)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: #[derive(RustEmbed)] folder '/opt/rustwide/workdir/i18n' does not exist. cwd: '/opt/rustwide/workdir' [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `i18n_embed::DesktopLanguageRequester`, `i18n_embed::fluent` [INFO] [stdout] --> src/lib.rs:492:18 [INFO] [stdout] | [INFO] [stdout] 2 | use i18n_embed::{DesktopLanguageRequester, fluent::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ could not find `fluent` in `i18n_embed` [INFO] [stdout] | | [INFO] [stdout] | no `DesktopLanguageRequester` in the root [INFO] [stdout] | help: a similar name exists in the module: `LanguageRequester` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `fluent_language_loader` [INFO] [stdout] --> src/lib.rs:502:49 [INFO] [stdout] | [INFO] [stdout] 12 | let language_loader: FluentLanguageLoader = fluent_language_loader!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Localizations: RustEmbed` is not satisfied [INFO] [stdout] --> src/lib.rs:509:27 [INFO] [stdout] | [INFO] [stdout] 19 | &language_loader, &Localizations, &requested_languages); [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `RustEmbed` is not implemented for `Localizations` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `I18nAssets` for `Localizations` [INFO] [stdout] = note: required for the cast to the object type `dyn I18nAssets` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [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 242) stdout ---- [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/lib.rs:251:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(RustEmbed)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: #[derive(RustEmbed)] folder '/opt/rustwide/workdir/i18n/ftl' does not exist. cwd: '/opt/rustwide/workdir' [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `i18n_embed::DesktopLanguageRequester`, `i18n_embed::fluent` [INFO] [stdout] --> src/lib.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 4 | DesktopLanguageRequester, LanguageRequester, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `DesktopLanguageRequester` in the root [INFO] [stdout] | help: a similar name exists in the module: `LanguageRequester` [INFO] [stdout] 5 | DefaultLocalizer, Localizer, fluent::FluentLanguageLoader [INFO] [stdout] | ^^^^^^ could not find `fluent` in `i18n_embed` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Localizations: RustEmbed` is not satisfied [INFO] [stdout] --> src/lib.rs:267:62 [INFO] [stdout] | [INFO] [stdout] 26 | let localizer = DefaultLocalizer::new(&*LANGUAGE_LOADER, &Localizations); [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^^ the trait `RustEmbed` is not implemented for `Localizations` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `I18nAssets` for `Localizations` [INFO] [stdout] = note: required for the cast to the object type `dyn I18nAssets` [INFO] [stdout] [INFO] [stdout] error: unused import: `LanguageRequester` [INFO] [stdout] --> src/lib.rs:245:31 [INFO] [stdout] | [INFO] [stdout] 4 | DesktopLanguageRequester, LanguageRequester, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings, rust_2018_idioms, single_use_lifetimes)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [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 344) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `i18n_embed::gettext` [INFO] [stdout] --> src/lib.rs:347:34 [INFO] [stdout] | [INFO] [stdout] 5 | DefaultLocalizer, Localizer, gettext::{ [INFO] [stdout] | ^^^^^^^ could not find `gettext` in `i18n_embed` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `gettext_language_loader` [INFO] [stdout] --> src/lib.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 13 | gettext_language_loader!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 205) stdout ---- [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/lib.rs:211:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(RustEmbed)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: #[derive(RustEmbed)] folder '/opt/rustwide/workdir/i18n/mo' does not exist. cwd: '/opt/rustwide/workdir' [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `i18n_embed::DesktopLanguageRequester`, `i18n_embed::gettext` [INFO] [stdout] --> src/lib.rs:206:18 [INFO] [stdout] | [INFO] [stdout] 2 | use i18n_embed::{DesktopLanguageRequester, gettext::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ could not find `gettext` in `i18n_embed` [INFO] [stdout] | | [INFO] [stdout] | no `DesktopLanguageRequester` in the root [INFO] [stdout] | help: a similar name exists in the module: `LanguageRequester` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `gettext_language_loader` [INFO] [stdout] --> src/lib.rs:221:27 [INFO] [stdout] | [INFO] [stdout] 17 | let language_loader = gettext_language_loader!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Localizations: RustEmbed` is not satisfied [INFO] [stdout] --> src/lib.rs:229:27 [INFO] [stdout] | [INFO] [stdout] 25 | &language_loader, &Localizations, &requested_languages); [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `RustEmbed` is not implemented for `Localizations` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `I18nAssets` for `Localizations` [INFO] [stdout] = note: required for the cast to the object type `dyn I18nAssets` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [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 108) stdout ---- [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/lib.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(RustEmbed)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: #[derive(RustEmbed)] folder '/opt/rustwide/workdir/i18n' does not exist. cwd: '/opt/rustwide/workdir' [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `i18n_embed::DesktopLanguageRequester`, `i18n_embed::fluent` [INFO] [stdout] --> src/lib.rs:109:18 [INFO] [stdout] | [INFO] [stdout] 2 | use i18n_embed::{DesktopLanguageRequester, fluent::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ could not find `fluent` in `i18n_embed` [INFO] [stdout] | | [INFO] [stdout] | no `DesktopLanguageRequester` in the root [INFO] [stdout] | help: a similar name exists in the module: `LanguageRequester` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `fluent_language_loader` [INFO] [stdout] --> src/lib.rs:120:49 [INFO] [stdout] | [INFO] [stdout] 13 | let language_loader: FluentLanguageLoader = fluent_language_loader!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Localizations: RustEmbed` is not satisfied [INFO] [stdout] --> src/lib.rs:128:27 [INFO] [stdout] | [INFO] [stdout] 21 | &language_loader, &Localizations, &requested_languages); [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `RustEmbed` is not implemented for `Localizations` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `I18nAssets` for `Localizations` [INFO] [stdout] = note: required for the cast to the object type `dyn I18nAssets` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [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 299) stdout ---- [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/lib.rs:308:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(RustEmbed)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: #[derive(RustEmbed)] folder '/opt/rustwide/workdir/i18n/mo' does not exist. cwd: '/opt/rustwide/workdir' [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `i18n_embed::fluent` [INFO] [stdout] --> src/lib.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 6 | fluent::{ [INFO] [stdout] | ^^^^^^ could not find `fluent` in `i18n_embed` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `fluent_language_loader` [INFO] [stdout] --> src/lib.rs:314:22 [INFO] [stdout] | [INFO] [stdout] 17 | let loader = fluent_language_loader!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Localizations: RustEmbed` is not satisfied [INFO] [stdout] --> src/lib.rs:329:55 [INFO] [stdout] | [INFO] [stdout] 32 | Arc::new(DefaultLocalizer::new(&*LANGUAGE_LOADER, &Localizations)) [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^^ the trait `RustEmbed` is not implemented for `Localizations` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `I18nAssets` for `Localizations` [INFO] [stdout] = note: required for the cast to the object type `dyn I18nAssets` [INFO] [stdout] [INFO] [stdout] error: unused import: `LanguageLoader` [INFO] [stdout] --> src/lib.rs:302:34 [INFO] [stdout] | [INFO] [stdout] 5 | DefaultLocalizer, Localizer, LanguageLoader, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings, rust_2018_idioms, single_use_lifetimes)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [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/lib.rs - (line 108) [INFO] [stdout] src/lib.rs - (line 205) [INFO] [stdout] src/lib.rs - (line 242) [INFO] [stdout] src/lib.rs - (line 299) [INFO] [stdout] src/lib.rs - (line 344) [INFO] [stdout] src/lib.rs - (line 491) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.30s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "1b9f814bd006dfec9d203ff901a17d1af656bc3ea8e01a19925e87f14873f00e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b9f814bd006dfec9d203ff901a17d1af656bc3ea8e01a19925e87f14873f00e", kill_on_drop: false }` [INFO] [stdout] 1b9f814bd006dfec9d203ff901a17d1af656bc3ea8e01a19925e87f14873f00e