[INFO] fetching crate i18n-embed 0.12.0... [INFO] testing i18n-embed-0.12.0 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate i18n-embed 0.12.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate i18n-embed 0.12.0 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate i18n-embed 0.12.0 [INFO] finished tweaking crates.io crate i18n-embed 0.12.0 [INFO] tweaked toml for crates.io crate i18n-embed 0.12.0 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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] 71b8ebd301fe752cc3f89a25698b46e0d4c3faedaa12b0596773da8c699d0891 [INFO] running `Command { std: "docker" "start" "-a" "71b8ebd301fe752cc3f89a25698b46e0d4c3faedaa12b0596773da8c699d0891", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71b8ebd301fe752cc3f89a25698b46e0d4c3faedaa12b0596773da8c699d0891", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71b8ebd301fe752cc3f89a25698b46e0d4c3faedaa12b0596773da8c699d0891", kill_on_drop: false }` [INFO] [stdout] 71b8ebd301fe752cc3f89a25698b46e0d4c3faedaa12b0596773da8c699d0891 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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] d8d1e888560b8385dc6b3b32e46590a4cd75e3d7d734c1c15295fdca18065264 [INFO] running `Command { std: "docker" "start" "-a" "d8d1e888560b8385dc6b3b32e46590a4cd75e3d7d734c1c15295fdca18065264", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling tinystr v0.3.4 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling type-map v0.4.0 [INFO] [stderr] Compiling unic-langid-impl v0.9.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling unic-langid v0.9.0 [INFO] [stderr] Compiling rust-embed-utils v5.1.0 [INFO] [stderr] Compiling intl-memoizer v0.5.1 [INFO] [stderr] Compiling fluent-langneg v0.13.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling rust-embed-impl v5.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling rust-embed v5.9.0 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling i18n-embed v0.12.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.72s [INFO] running `Command { std: "docker" "inspect" "d8d1e888560b8385dc6b3b32e46590a4cd75e3d7d734c1c15295fdca18065264", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8d1e888560b8385dc6b3b32e46590a4cd75e3d7d734c1c15295fdca18065264", kill_on_drop: false }` [INFO] [stdout] d8d1e888560b8385dc6b3b32e46590a4cd75e3d7d734c1c15295fdca18065264 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0178a88ee8d3f85ce33f529b3625ee603fe4bed1309c5a72b5c4aaf73e9574d7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0178a88ee8d3f85ce33f529b3625ee603fe4bed1309c5a72b5c4aaf73e9574d7", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling termcolor v1.1.2 [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.8.3 [INFO] [stderr] Compiling i18n-embed v0.12.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 9.80s [INFO] running `Command { std: "docker" "inspect" "0178a88ee8d3f85ce33f529b3625ee603fe4bed1309c5a72b5c4aaf73e9574d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0178a88ee8d3f85ce33f529b3625ee603fe4bed1309c5a72b5c4aaf73e9574d7", kill_on_drop: false }` [INFO] [stdout] 0178a88ee8d3f85ce33f529b3625ee603fe4bed1309c5a72b5c4aaf73e9574d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 06ce2f1dc6a801d2d597fed3db1e70b7dfa2daa4dcff116cbc9fa2856f93d3d3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "06ce2f1dc6a801d2d597fed3db1e70b7dfa2daa4dcff116cbc9fa2856f93d3d3", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/i18n_embed-4b2d22f30727d537) [INFO] [stdout] [INFO] [stderr] Running tests/loader.rs (/opt/rustwide/target/debug/deps/loader-270b938ecc909216) [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 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 6 tests [INFO] [stdout] test src/lib.rs - (line 241) ... FAILED [INFO] [stdout] test src/lib.rs - (line 204) ... FAILED [INFO] [stdout] test src/lib.rs - (line 490) ... FAILED [INFO] [stdout] test src/lib.rs - (line 343) ... FAILED [INFO] [stdout] test src/lib.rs - (line 298) ... FAILED [INFO] [stdout] test src/lib.rs - (line 107) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 241) stdout ---- [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/lib.rs:250: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:244: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:266: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] = 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:244: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:241: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 204) stdout ---- [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/lib.rs:210: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:205: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:220: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:228: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 490) stdout ---- [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/lib.rs:496: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:491: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:501: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:508: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 343) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `i18n_embed::gettext` [INFO] [stdout] --> src/lib.rs:346: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:354: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 298) stdout ---- [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/lib.rs:307: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:302: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:313: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:328: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] = 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:301: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:297: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] ---- src/lib.rs - (line 107) stdout ---- [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/lib.rs:113: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:108: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:119: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:127: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] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 107) [INFO] [stdout] src/lib.rs - (line 204) [INFO] [stdout] src/lib.rs - (line 241) [INFO] [stdout] src/lib.rs - (line 298) [INFO] [stdout] src/lib.rs - (line 343) [INFO] [stdout] src/lib.rs - (line 490) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.28s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "06ce2f1dc6a801d2d597fed3db1e70b7dfa2daa4dcff116cbc9fa2856f93d3d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06ce2f1dc6a801d2d597fed3db1e70b7dfa2daa4dcff116cbc9fa2856f93d3d3", kill_on_drop: false }` [INFO] [stdout] 06ce2f1dc6a801d2d597fed3db1e70b7dfa2daa4dcff116cbc9fa2856f93d3d3