[INFO] fetching crate i18n-embed-fl 0.5.0... [INFO] testing i18n-embed-fl-0.5.0 against master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479 [INFO] extracting crate i18n-embed-fl 0.5.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate i18n-embed-fl 0.5.0 on toolchain b70888601af92f6cdc0364abab3446e418b91d36 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate i18n-embed-fl 0.5.0 [INFO] finished tweaking crates.io crate i18n-embed-fl 0.5.0 [INFO] tweaked toml for crates.io crate i18n-embed-fl 0.5.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e5d247a9a0573fe8cccf86e5846b044ca37304ea58a58517d461eb1b3e6bf31 [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" "2e5d247a9a0573fe8cccf86e5846b044ca37304ea58a58517d461eb1b3e6bf31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e5d247a9a0573fe8cccf86e5846b044ca37304ea58a58517d461eb1b3e6bf31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e5d247a9a0573fe8cccf86e5846b044ca37304ea58a58517d461eb1b3e6bf31", kill_on_drop: false }` [INFO] [stdout] 2e5d247a9a0573fe8cccf86e5846b044ca37304ea58a58517d461eb1b3e6bf31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+b70888601af92f6cdc0364abab3446e418b91d36" "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] 22bab98532399679ac65e9e54f3d5d1a87673d3f0dae3643ebbb630a82e3847f [INFO] running `Command { std: "docker" "start" "-a" "22bab98532399679ac65e9e54f3d5d1a87673d3f0dae3643ebbb630a82e3847f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling tinystr v0.3.4 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling rust-embed-utils v5.1.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling type-map v0.4.0 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling ouroboros_macro v0.9.5 [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 fluent-syntax v0.11.0 [INFO] [stderr] Compiling ouroboros v0.9.5 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling unic-langid-impl v0.9.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling unic-langid v0.9.0 [INFO] [stderr] Compiling intl_pluralrules v7.0.1 [INFO] [stderr] Compiling intl-memoizer v0.5.1 [INFO] [stderr] Compiling fluent-langneg v0.13.0 [INFO] [stderr] Compiling fluent-bundle v0.15.1 [INFO] [stderr] Compiling i18n-config v0.4.2 [INFO] [stderr] Compiling find-crate v0.6.3 [INFO] [stderr] Compiling fluent v0.15.0 [INFO] [stderr] Compiling i18n-embed-impl v0.7.0 [INFO] [stderr] Compiling i18n-embed v0.12.1 [INFO] [stderr] Compiling i18n-embed-fl v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 41.75s [INFO] running `Command { std: "docker" "inspect" "22bab98532399679ac65e9e54f3d5d1a87673d3f0dae3643ebbb630a82e3847f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22bab98532399679ac65e9e54f3d5d1a87673d3f0dae3643ebbb630a82e3847f", kill_on_drop: false }` [INFO] [stdout] 22bab98532399679ac65e9e54f3d5d1a87673d3f0dae3643ebbb630a82e3847f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen" "--no-run" "--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] c4137a1a891adfbbfd8b3d168f9179bdb8083590db31948f89c2076d9e709f2d [INFO] running `Command { std: "docker" "start" "-a" "c4137a1a891adfbbfd8b3d168f9179bdb8083590db31948f89c2076d9e709f2d", kill_on_drop: false }` [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling pretty_assertions v0.7.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling i18n-embed-fl v0.5.0 (/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 i18n 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] [INFO] [stdout] [INFO] [stdout] error: fl!() had a problem reading i18n 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 the macro `fl` (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 i18n 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] [INFO] [stdout] [INFO] [stdout] error: fl!() had a problem reading i18n 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 the macro `fl` (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 i18n 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] [INFO] [stdout] [INFO] [stdout] error: fl!() had a problem reading i18n 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 the macro `fl` (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 i18n 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] [INFO] [stdout] [INFO] [stdout] error: fl!() had a problem reading i18n 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 the macro `fl` (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` due to 18 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c4137a1a891adfbbfd8b3d168f9179bdb8083590db31948f89c2076d9e709f2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4137a1a891adfbbfd8b3d168f9179bdb8083590db31948f89c2076d9e709f2d", kill_on_drop: false }` [INFO] [stdout] c4137a1a891adfbbfd8b3d168f9179bdb8083590db31948f89c2076d9e709f2d