[INFO] fetching crate i18n-embed 0.9.3... [INFO] testing i18n-embed-0.9.3 against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] extracting crate i18n-embed 0.9.3 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate i18n-embed 0.9.3 on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate i18n-embed 0.9.3 [INFO] finished tweaking crates.io crate i18n-embed 0.9.3 [INFO] tweaked toml for crates.io crate i18n-embed 0.9.3 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af39c89919175379d6ce1dd19217bdbe684a76e7a69000662bc30b69a0356d0f [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" "af39c89919175379d6ce1dd19217bdbe684a76e7a69000662bc30b69a0356d0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af39c89919175379d6ce1dd19217bdbe684a76e7a69000662bc30b69a0356d0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af39c89919175379d6ce1dd19217bdbe684a76e7a69000662bc30b69a0356d0f", kill_on_drop: false }` [INFO] [stdout] af39c89919175379d6ce1dd19217bdbe684a76e7a69000662bc30b69a0356d0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5622b682b9c1d0f8eaa0a90ec5916d3b498acdc6178109ad8f0f57873e05008c [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" "5622b682b9c1d0f8eaa0a90ec5916d3b498acdc6178109ad8f0f57873e05008c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.52 [INFO] [stderr] Compiling tinystr v0.3.4 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling rust-embed-utils v5.0.0 [INFO] [stderr] Compiling unic-langid-impl v0.9.0 [INFO] [stderr] Compiling unic-langid v0.9.0 [INFO] [stderr] Compiling fluent-langneg v0.13.0 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling rust-embed-impl v5.6.0 [INFO] [stderr] Compiling rust-embed v5.6.0 [INFO] [stderr] Compiling thiserror v1.0.22 [INFO] [stderr] Compiling i18n-embed v0.9.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.02s [INFO] running `Command { std: "docker" "inspect" "5622b682b9c1d0f8eaa0a90ec5916d3b498acdc6178109ad8f0f57873e05008c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5622b682b9c1d0f8eaa0a90ec5916d3b498acdc6178109ad8f0f57873e05008c", kill_on_drop: false }` [INFO] [stdout] 5622b682b9c1d0f8eaa0a90ec5916d3b498acdc6178109ad8f0f57873e05008c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5bac93d08254687847006aee3023fcfd7cca1b33e80878f58677e670501c69ea [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" "5bac93d08254687847006aee3023fcfd7cca1b33e80878f58677e670501c69ea", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling humantime v2.0.1 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling pretty_assertions v0.6.1 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling env_logger v0.8.2 [INFO] [stderr] Compiling i18n-embed v0.9.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `setup` [INFO] [stdout] --> tests/loader.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn setup() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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 19.65s [INFO] running `Command { std: "docker" "inspect" "5bac93d08254687847006aee3023fcfd7cca1b33e80878f58677e670501c69ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bac93d08254687847006aee3023fcfd7cca1b33e80878f58677e670501c69ea", kill_on_drop: false }` [INFO] [stdout] 5bac93d08254687847006aee3023fcfd7cca1b33e80878f58677e670501c69ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "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] 1e611f355826fe88b7e1f0181118a7226611cf50c583c5623df3e0c4e338544a [INFO] running `Command { std: "docker" "start" "-a" "1e611f355826fe88b7e1f0181118a7226611cf50c583c5623df3e0c4e338544a", kill_on_drop: false }` [INFO] [stderr] warning: function is never used: `setup` [INFO] [stderr] --> tests/loader.rs:1:4 [INFO] [stderr] | [INFO] [stderr] 1 | fn setup() { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/i18n_embed-33cb59ffa5807a70 [INFO] [stderr] Running /opt/rustwide/target/debug/deps/loader-dce6e6e634f641c4 [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 [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 [INFO] [stdout] [INFO] [stderr] Doc-tests i18n-embed [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/lib.rs - (line 206) ... FAILED [INFO] [stdout] test src/lib.rs - (line 107) ... FAILED [INFO] [stdout] test src/lib.rs - (line 340) ... FAILED [INFO] [stdout] test src/lib.rs - (line 486) ... FAILED [INFO] [stdout] test src/lib.rs - (line 245) ... FAILED [INFO] [stdout] test src/lib.rs - (line 304) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 206) stdout ---- [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/lib.rs:212: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:207: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:224:27 [INFO] [stdout] | [INFO] [stdout] 19 | 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 `Translations: RustEmbed` is not satisfied [INFO] [stdout] --> src/lib.rs:232:27 [INFO] [stdout] | [INFO] [stdout] 27 | &language_loader, &translations, &requested_languages); [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `RustEmbed` is not implemented for `Translations` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `I18nAssets` for `Translations` [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 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:121:49 [INFO] [stdout] | [INFO] [stdout] 15 | 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 `Translations: RustEmbed` is not satisfied [INFO] [stdout] --> src/lib.rs:129:27 [INFO] [stdout] | [INFO] [stdout] 23 | &language_loader, &translations, &requested_languages); [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `RustEmbed` is not implemented for `Translations` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `I18nAssets` for `Translations` [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 340) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `i18n_embed::gettext` [INFO] [stdout] --> src/lib.rs:342:34 [INFO] [stdout] | [INFO] [stdout] 4 | 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:350:9 [INFO] [stdout] | [INFO] [stdout] 12 | 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 486) stdout ---- [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/lib.rs:492: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:487: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:498: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 `Translations: RustEmbed` is not satisfied [INFO] [stdout] --> src/lib.rs:505:27 [INFO] [stdout] | [INFO] [stdout] 20 | &language_loader, &translations, &requested_languages); [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `RustEmbed` is not implemented for `Translations` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `I18nAssets` for `Translations` [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 245) stdout ---- [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/lib.rs:254: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:248: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 `Translations: RustEmbed` is not satisfied [INFO] [stdout] --> src/lib.rs:272:62 [INFO] [stdout] | [INFO] [stdout] 28 | let localizer = DefaultLocalizer::new(&*LANGUAGE_LOADER, &TRANSLATIONS); [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `RustEmbed` is not implemented for `Translations` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `I18nAssets` for `Translations` [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:248: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:245: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 304) stdout ---- [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/lib.rs:312:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[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::gettext` [INFO] [stdout] --> src/lib.rs:307:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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:319:9 [INFO] [stdout] | [INFO] [stdout] 17 | 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 `Translations: RustEmbed` is not satisfied [INFO] [stdout] --> src/lib.rs:325:56 [INFO] [stdout] | [INFO] [stdout] 23 | Box::from(DefaultLocalizer::new(&*LANGUAGE_LOADER, &TRANSLATIONS)) [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `RustEmbed` is not implemented for `Translations` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `I18nAssets` for `Translations` [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 206) [INFO] [stdout] src/lib.rs - (line 245) [INFO] [stdout] src/lib.rs - (line 304) [INFO] [stdout] src/lib.rs - (line 340) [INFO] [stdout] src/lib.rs - (line 486) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "1e611f355826fe88b7e1f0181118a7226611cf50c583c5623df3e0c4e338544a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e611f355826fe88b7e1f0181118a7226611cf50c583c5623df3e0c4e338544a", kill_on_drop: false }` [INFO] [stdout] 1e611f355826fe88b7e1f0181118a7226611cf50c583c5623df3e0c4e338544a