[INFO] fetching crate gettext-macros 0.6.0... [INFO] checking gettext-macros-0.6.0 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate gettext-macros 0.6.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate gettext-macros 0.6.0 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate gettext-macros 0.6.0 [INFO] finished tweaking crates.io crate gettext-macros 0.6.0 [INFO] tweaked toml for crates.io crate gettext-macros 0.6.0 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gettext-utils v0.1.0 [INFO] [stderr] Downloaded gettext v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f33ddd5023d0c969ebb8ca997540abb70cc2187efcfe7d7b30bb8b4ed0f949bd [INFO] running `Command { std: "docker" "start" "-a" "f33ddd5023d0c969ebb8ca997540abb70cc2187efcfe7d7b30bb8b4ed0f949bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f33ddd5023d0c969ebb8ca997540abb70cc2187efcfe7d7b30bb8b4ed0f949bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f33ddd5023d0c969ebb8ca997540abb70cc2187efcfe7d7b30bb8b4ed0f949bd", kill_on_drop: false }` [INFO] [stdout] f33ddd5023d0c969ebb8ca997540abb70cc2187efcfe7d7b30bb8b4ed0f949bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a6f96d5b294755c0d044bf698875b29b7d2eca55fa07ffa948ad17541ea62ff [INFO] running `Command { std: "docker" "start" "-a" "9a6f96d5b294755c0d044bf698875b29b7d2eca55fa07ffa948ad17541ea62ff", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Checking gettext-utils v0.1.0 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Checking syn v1.0.74 [INFO] [stderr] Checking gettext v0.4.0 [INFO] [stderr] Checking gettext-macros v0.6.0 (/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` due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "9a6f96d5b294755c0d044bf698875b29b7d2eca55fa07ffa948ad17541ea62ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a6f96d5b294755c0d044bf698875b29b7d2eca55fa07ffa948ad17541ea62ff", kill_on_drop: false }` [INFO] [stdout] 9a6f96d5b294755c0d044bf698875b29b7d2eca55fa07ffa948ad17541ea62ff