[INFO] fetching crate i18n-embed-fl 0.1.5... [INFO] checking i18n-embed-fl-0.1.5 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate i18n-embed-fl 0.1.5 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate i18n-embed-fl 0.1.5 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate i18n-embed-fl 0.1.5 [INFO] finished tweaking crates.io crate i18n-embed-fl 0.1.5 [INFO] tweaked toml for crates.io crate i18n-embed-fl 0.1.5 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--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 i18n-embed-impl v0.6.1 [INFO] [stderr] Downloaded i18n-embed v0.8.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64bab55f652684185b32770f48866d1d4e6e8470a27f94264f829797705e524b [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" "64bab55f652684185b32770f48866d1d4e6e8470a27f94264f829797705e524b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64bab55f652684185b32770f48866d1d4e6e8470a27f94264f829797705e524b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64bab55f652684185b32770f48866d1d4e6e8470a27f94264f829797705e524b", kill_on_drop: false }` [INFO] [stdout] 64bab55f652684185b32770f48866d1d4e6e8470a27f94264f829797705e524b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--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] 3f45cd5cc46a76d663eed4399de2fc0b4dfaf46732503a8aec09887e0afd2518 [INFO] running `Command { std: "docker" "start" "-a" "3f45cd5cc46a76d663eed4399de2fc0b4dfaf46732503a8aec09887e0afd2518", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling fluent-syntax v0.9.3 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling instant v0.1.7 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking dashmap v4.0.0-rc6 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking rust-embed-utils v5.0.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Checking quote v1.0.7 [INFO] [stderr] Compiling type-map v0.3.0 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling rental-impl v0.5.5 [INFO] [stderr] Compiling thiserror-impl v1.0.21 [INFO] [stderr] Compiling rust-embed-impl v5.6.0 [INFO] [stderr] Checking rust-embed v5.6.0 [INFO] [stderr] Compiling thiserror v1.0.21 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Checking rental v0.5.5 [INFO] [stderr] Checking unic-langid-impl v0.9.0 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking unic-langid v0.9.0 [INFO] [stderr] Checking intl_pluralrules v7.0.0 [INFO] [stderr] Checking intl-memoizer v0.5.0 [INFO] [stderr] Checking fluent-langneg v0.13.0 [INFO] [stderr] Checking fluent-bundle v0.12.0 [INFO] [stderr] Checking i18n-config v0.4.0 [INFO] [stderr] Checking find-crate v0.6.1 [INFO] [stderr] Checking fluent v0.12.0 [INFO] [stderr] Compiling i18n-embed-impl v0.6.1 [INFO] [stderr] Checking i18n-embed v0.8.4 [INFO] [stderr] Checking i18n-embed-fl v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> tests/fl_macro.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[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] [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> tests/fl_macro.rs:15:40 [INFO] [stdout] | [INFO] [stdout] 15 | let loader: FluentLanguageLoader = fluent_language_loader!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: fluent_language_loader!() had a problem reading config file "i18n.toml": Cannot read file "i18n.toml" in the current working directory Ok("/opt/rustwide/workdir") because No such file or directory (os error 2). [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: fl!() had a problem reading config file "/opt/rustwide/workdir/i18n.toml": Cannot read file "/opt/rustwide/workdir/i18n.toml" in the current working directory Ok("/opt/rustwide/workdir") because No such file or directory (os error 2). [INFO] [stdout] --> tests/fl_macro.rs:23:65 [INFO] [stdout] | [INFO] [stdout] 23 | pretty_assertions::assert_eq!("Hello \u{2068}Bob\u{2069}!", fl!(loader, "hello-arg", args)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: Try creating the `i18n.toml` configuration file. [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found end of macro arguments [INFO] [stdout] --> tests/fl_macro.rs:23:65 [INFO] [stdout] | [INFO] [stdout] 23 | pretty_assertions::assert_eq!("Hello \u{2068}Bob\u{2069}!", fl!(loader, "hello-arg", args)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> tests/fl_macro.rs:28:40 [INFO] [stdout] | [INFO] [stdout] 28 | let loader: FluentLanguageLoader = fluent_language_loader!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: fluent_language_loader!() had a problem reading config file "i18n.toml": Cannot read file "i18n.toml" in the current working directory Ok("/opt/rustwide/workdir") because No such file or directory (os error 2). [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: fl!() had a problem reading config file "/opt/rustwide/workdir/i18n.toml": Cannot read file "/opt/rustwide/workdir/i18n.toml" in the current working directory Ok("/opt/rustwide/workdir") because No such file or directory (os error 2). [INFO] [stdout] --> tests/fl_macro.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | fl!(loader, "hello-arg", args_expr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: Try creating the `i18n.toml` configuration file. [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found end of macro arguments [INFO] [stdout] --> tests/fl_macro.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | fl!(loader, "hello-arg", args_expr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> tests/fl_macro.rs:48:44 [INFO] [stdout] | [INFO] [stdout] 48 | let loader: FluentLanguageLoader = fluent_language_loader!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: fluent_language_loader!() had a problem reading config file "i18n.toml": Cannot read file "i18n.toml" in the current working directory Ok("/opt/rustwide/workdir") because No such file or directory (os error 2). [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: fl!() had a problem reading config file "/opt/rustwide/workdir/i18n.toml": Cannot read file "/opt/rustwide/workdir/i18n.toml" in the current working directory Ok("/opt/rustwide/workdir") because No such file or directory (os error 2). [INFO] [stdout] --> tests/fl_macro.rs:55:51 [INFO] [stdout] | [INFO] [stdout] 55 | pretty_assertions::assert_eq!("Hello World!", fl!(loader(), "hello-world")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: Try creating the `i18n.toml` configuration file. [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found end of macro arguments [INFO] [stdout] --> tests/fl_macro.rs:55:51 [INFO] [stdout] | [INFO] [stdout] 55 | pretty_assertions::assert_eq!("Hello World!", fl!(loader(), "hello-world")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> tests/fl_macro.rs:60:40 [INFO] [stdout] | [INFO] [stdout] 60 | let loader: FluentLanguageLoader = fluent_language_loader!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: fluent_language_loader!() had a problem reading config file "i18n.toml": Cannot read file "i18n.toml" in the current working directory Ok("/opt/rustwide/workdir") because No such file or directory (os error 2). [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: fl!() had a problem reading config file "/opt/rustwide/workdir/i18n.toml": Cannot read file "/opt/rustwide/workdir/i18n.toml" in the current working directory Ok("/opt/rustwide/workdir") because No such file or directory (os error 2). [INFO] [stdout] --> tests/fl_macro.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | fl!(loader, "hello-arg", name = "Bob") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: Try creating the `i18n.toml` configuration file. [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found end of macro arguments [INFO] [stdout] --> tests/fl_macro.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | fl!(loader, "hello-arg", name = "Bob") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Localizations: RustEmbed` is not satisfied [INFO] [stdout] --> tests/fl_macro.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | .load_languages(&Localizations, &[loader.fallback_language()]) [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] [INFO] [stdout] error[E0277]: the trait bound `Localizations: RustEmbed` is not satisfied [INFO] [stdout] --> tests/fl_macro.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | .load_languages(&Localizations, &[loader.fallback_language()]) [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] [INFO] [stdout] error[E0277]: the trait bound `Localizations: RustEmbed` is not satisfied [INFO] [stdout] --> tests/fl_macro.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | .load_languages(&Localizations, &[loader.fallback_language()]) [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] [INFO] [stdout] error[E0277]: the trait bound `Localizations: RustEmbed` is not satisfied [INFO] [stdout] --> tests/fl_macro.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | .load_languages(&Localizations, &[loader.fallback_language()]) [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] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `i18n-embed-fl` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "3f45cd5cc46a76d663eed4399de2fc0b4dfaf46732503a8aec09887e0afd2518", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f45cd5cc46a76d663eed4399de2fc0b4dfaf46732503a8aec09887e0afd2518", kill_on_drop: false }` [INFO] [stdout] 3f45cd5cc46a76d663eed4399de2fc0b4dfaf46732503a8aec09887e0afd2518