[INFO] fetching crate gettext-macros 0.6.1... [INFO] checking gettext-macros-0.6.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate gettext-macros 0.6.1 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate gettext-macros 0.6.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate gettext-macros 0.6.1 [INFO] finished tweaking crates.io crate gettext-macros 0.6.1 [INFO] tweaked toml for crates.io crate gettext-macros 0.6.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 14 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gettext v0.4.0 [INFO] [stderr] Downloaded gettext-utils v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b18717e19d2cb9752e53678a1462dabadd5b2119374c02333c9a59361c264994 [INFO] running `Command { std: "docker" "start" "-a" "b18717e19d2cb9752e53678a1462dabadd5b2119374c02333c9a59361c264994", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b18717e19d2cb9752e53678a1462dabadd5b2119374c02333c9a59361c264994", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b18717e19d2cb9752e53678a1462dabadd5b2119374c02333c9a59361c264994", kill_on_drop: false }` [INFO] [stdout] b18717e19d2cb9752e53678a1462dabadd5b2119374c02333c9a59361c264994 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84889edd8c4057e6abe06d3c8223354376f75aedbefd77289d9d595f7c7b5c8a [INFO] running `Command { std: "docker" "start" "-a" "84889edd8c4057e6abe06d3c8223354376f75aedbefd77289d9d595f7c7b5c8a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking unicode-ident v1.0.13 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking gettext-utils v0.1.0 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking gettext v0.4.0 [INFO] [stderr] Checking gettext-macros v0.6.1 (/opt/rustwide/workdir) [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> tests/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | init_i18n!("test", fr, en, de, ja); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Couldn't create po dir: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> tests/main.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | let msgid1 = t!("This should be translated"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Couldn't open .pot file: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> tests/main.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | let msgid2 = t!( [INFO] [stdout] | __________________^ [INFO] [stdout] 9 | | "This should also be translated", [INFO] [stdout] 10 | | "And also has a plural version" [INFO] [stdout] 11 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: message: Couldn't open .pot file: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> tests/main.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let x = i18n!(cat, "Hello"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Couldn't open .pot file: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> tests/main.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let b = i18n!(cat, "Singular", "Plural"; 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Couldn't open .pot file: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> tests/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | i18n!(cat, "Singular", "Plural {}"; 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Couldn't open .pot file: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> tests/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | i18n!(cat, context = "Test context", "Hello"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Couldn't open .pot file: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> tests/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | i18n!(cat, context = "Test context (plural)", "Hello", "Plural"; 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Couldn't open .pot file: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> tests/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | i18n!(cat, context = "Test context (format)", "Hello {}"; "world"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Couldn't open .pot file: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> tests/main.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | println!("{}", i18n!(cat, "Woohoo, it {}"; "works")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Couldn't open .pot file: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> tests/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | i18n!(cat, "Test complex formatting {}, {}", "aaahh"; v[0], v[2]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Couldn't open .pot file: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Creating fr [INFO] [stderr] msginit: error while opening "/opt/rustwide/workdir/po/test/test.pot" for reading: No such file or directory [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> tests/main.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | compile_i18n!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Couldn't init PO file (gettext returned an error) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> tests/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | include_i18n!()[0].1.clone() [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: /opt/rustwide/target/gettext_macros/fr/test.mo doesn't exist. Make sure to call compile_i18n! before include_i18n!, and check that you didn't disabled mo compilation. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gettext-macros` (test "main") due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "84889edd8c4057e6abe06d3c8223354376f75aedbefd77289d9d595f7c7b5c8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84889edd8c4057e6abe06d3c8223354376f75aedbefd77289d9d595f7c7b5c8a", kill_on_drop: false }` [INFO] [stdout] 84889edd8c4057e6abe06d3c8223354376f75aedbefd77289d9d595f7c7b5c8a