[INFO] fetching crate i18n-embed 0.13.0... [INFO] testing i18n-embed-0.13.0 against try#8262275854dc0e5381c9d42d56257d94932c5a87 for pr-90799 [INFO] extracting crate i18n-embed 0.13.0 into /workspace/builds/worker-20/source [INFO] validating manifest of crates.io crate i18n-embed 0.13.0 on toolchain 8262275854dc0e5381c9d42d56257d94932c5a87 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "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-20/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tr v0.1.6 [INFO] [stderr] Downloaded gettext v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d2c9330486beb9a6632579ee9c60d20ff70bd5da83381844ff0fc6e679ea817 [INFO] running `Command { std: "docker" "start" "-a" "6d2c9330486beb9a6632579ee9c60d20ff70bd5da83381844ff0fc6e679ea817", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d2c9330486beb9a6632579ee9c60d20ff70bd5da83381844ff0fc6e679ea817", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d2c9330486beb9a6632579ee9c60d20ff70bd5da83381844ff0fc6e679ea817", kill_on_drop: false }` [INFO] [stdout] 6d2c9330486beb9a6632579ee9c60d20ff70bd5da83381844ff0fc6e679ea817 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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" "+8262275854dc0e5381c9d42d56257d94932c5a87" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0961cd846c13739ab653b5f8cb75b695c06719a110c38dd7427d269a26ffae7 [INFO] running `Command { std: "docker" "start" "-a" "a0961cd846c13739ab653b5f8cb75b695c06719a110c38dd7427d269a26ffae7", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling tinystr v0.3.4 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling type-map v0.4.0 [INFO] [stderr] Compiling walkdir v2.3.2 [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 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.1.0 [INFO] [stderr] Compiling rust-embed-impl v6.2.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling rust-embed v6.3.0 [INFO] [stderr] Compiling i18n-embed v0.13.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.75s [INFO] running `Command { std: "docker" "inspect" "a0961cd846c13739ab653b5f8cb75b695c06719a110c38dd7427d269a26ffae7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0961cd846c13739ab653b5f8cb75b695c06719a110c38dd7427d269a26ffae7", kill_on_drop: false }` [INFO] [stdout] a0961cd846c13739ab653b5f8cb75b695c06719a110c38dd7427d269a26ffae7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05f817a29de9bb6ea35f952eef5b575abf2c2d498453cc9158d092f9fedb6f93 [INFO] running `Command { std: "docker" "start" "-a" "05f817a29de9bb6ea35f952eef5b575abf2c2d498453cc9158d092f9fedb6f93", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling pretty_assertions v0.7.2 [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 7.55s [INFO] running `Command { std: "docker" "inspect" "05f817a29de9bb6ea35f952eef5b575abf2c2d498453cc9158d092f9fedb6f93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05f817a29de9bb6ea35f952eef5b575abf2c2d498453cc9158d092f9fedb6f93", kill_on_drop: false }` [INFO] [stdout] 05f817a29de9bb6ea35f952eef5b575abf2c2d498453cc9158d092f9fedb6f93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e84da492e26563aabd6701110b6b9537ba63bb80eea27e185f6f5edfda8d8eee [INFO] running `Command { std: "docker" "start" "-a" "e84da492e26563aabd6701110b6b9537ba63bb80eea27e185f6f5edfda8d8eee", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/i18n_embed-fdf8d83109f2e509) [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 tests/loader.rs (/opt/rustwide/target/debug/deps/loader-487f9e2beb4f49ff) [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 344) ... FAILED [INFO] [stdout] test src/lib.rs - (line 108) ... FAILED [INFO] [stdout] test src/lib.rs - (line 299) ... FAILED [INFO] [stdout] test src/lib.rs - (line 491) ... FAILED [INFO] [stdout] test src/lib.rs - (line 242) ... 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 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] | 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] ---- 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] [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.35s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "e84da492e26563aabd6701110b6b9537ba63bb80eea27e185f6f5edfda8d8eee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e84da492e26563aabd6701110b6b9537ba63bb80eea27e185f6f5edfda8d8eee", kill_on_drop: false }` [INFO] [stdout] e84da492e26563aabd6701110b6b9537ba63bb80eea27e185f6f5edfda8d8eee