[INFO] fetching crate i18n-embed 0.12.1... [INFO] testing i18n-embed-0.12.1 against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] extracting crate i18n-embed 0.12.1 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate i18n-embed 0.12.1 on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate i18n-embed 0.12.1 [INFO] finished tweaking crates.io crate i18n-embed 0.12.1 [INFO] tweaked toml for crates.io crate i18n-embed 0.12.1 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 872661e226ef41a719f96b4f2e15e4fe67dea552eb597cb74defc529dcebe94b [INFO] running `Command { std: "docker" "start" "-a" "872661e226ef41a719f96b4f2e15e4fe67dea552eb597cb74defc529dcebe94b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "872661e226ef41a719f96b4f2e15e4fe67dea552eb597cb74defc529dcebe94b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "872661e226ef41a719f96b4f2e15e4fe67dea552eb597cb74defc529dcebe94b", kill_on_drop: false }` [INFO] [stdout] 872661e226ef41a719f96b4f2e15e4fe67dea552eb597cb74defc529dcebe94b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e74e93b936b25dba3b14d5cc243e0d79d5d057968337978b195a3c98bce0a7cd [INFO] running `Command { std: "docker" "start" "-a" "e74e93b936b25dba3b14d5cc243e0d79d5d057968337978b195a3c98bce0a7cd", kill_on_drop: false }` [INFO] [stderr] Compiling tinystr v0.3.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling type-map v0.4.0 [INFO] [stderr] Compiling rust-embed-utils v5.1.0 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling unic-langid-impl v0.9.0 [INFO] [stderr] Compiling unic-langid v0.9.0 [INFO] [stderr] Compiling intl-memoizer v0.5.1 [INFO] [stderr] Compiling fluent-langneg v0.13.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling rust-embed-impl v5.9.0 [INFO] [stderr] Compiling rust-embed v5.9.0 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling i18n-embed v0.12.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.86s [INFO] running `Command { std: "docker" "inspect" "e74e93b936b25dba3b14d5cc243e0d79d5d057968337978b195a3c98bce0a7cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e74e93b936b25dba3b14d5cc243e0d79d5d057968337978b195a3c98bce0a7cd", kill_on_drop: false }` [INFO] [stdout] e74e93b936b25dba3b14d5cc243e0d79d5d057968337978b195a3c98bce0a7cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12ee22118ffa22357563f39edf899d801573d78cd519d94acd72813ac9497c15 [INFO] running `Command { std: "docker" "start" "-a" "12ee22118ffa22357563f39edf899d801573d78cd519d94acd72813ac9497c15", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling regex-syntax v0.6.25 [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.8.4 [INFO] [stderr] Compiling i18n-embed v0.12.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 8.03s [INFO] running `Command { std: "docker" "inspect" "12ee22118ffa22357563f39edf899d801573d78cd519d94acd72813ac9497c15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12ee22118ffa22357563f39edf899d801573d78cd519d94acd72813ac9497c15", kill_on_drop: false }` [INFO] [stdout] 12ee22118ffa22357563f39edf899d801573d78cd519d94acd72813ac9497c15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0bb16fc631819b937e425fcf1ceb40a8336e63d602c3514727e3086f7fea3bb7 [INFO] running `Command { std: "docker" "start" "-a" "0bb16fc631819b937e425fcf1ceb40a8336e63d602c3514727e3086f7fea3bb7", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/i18n_embed-d1275bb392fa4710) [INFO] [stdout] running 0 tests [INFO] [stderr] Running tests/loader.rs (/opt/rustwide/target/debug/deps/loader-1d48579034b4aec9) [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 205) ... FAILED [INFO] [stdout] test src/lib.rs - (line 242) ... FAILED [INFO] [stdout] test src/lib.rs - (line 491) ... FAILED [INFO] [stdout] test src/lib.rs - (line 344) ... 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 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 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] = 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 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 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 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] = 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] [stderr] error: test failed, to rerun pass '--doc' [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.46s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0bb16fc631819b937e425fcf1ceb40a8336e63d602c3514727e3086f7fea3bb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bb16fc631819b937e425fcf1ceb40a8336e63d602c3514727e3086f7fea3bb7", kill_on_drop: false }` [INFO] [stdout] 0bb16fc631819b937e425fcf1ceb40a8336e63d602c3514727e3086f7fea3bb7