[INFO] fetching crate gettext-macros 0.6.0... [INFO] checking gettext-macros-0.6.0 against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] extracting crate gettext-macros 0.6.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate gettext-macros 0.6.0 on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d8cc7ca93a0f67e33180a452f616066245fa37de21cdcf87197044e7c601dc9 [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" "2d8cc7ca93a0f67e33180a452f616066245fa37de21cdcf87197044e7c601dc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d8cc7ca93a0f67e33180a452f616066245fa37de21cdcf87197044e7c601dc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d8cc7ca93a0f67e33180a452f616066245fa37de21cdcf87197044e7c601dc9", kill_on_drop: false }` [INFO] [stdout] 2d8cc7ca93a0f67e33180a452f616066245fa37de21cdcf87197044e7c601dc9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7225a1c80a24319d8b31116161c0dc42a68d9b498582681b7aa2669e58856078 [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" "7225a1c80a24319d8b31116161c0dc42a68d9b498582681b7aa2669e58856078", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Checking unicode-xid v0.2.1 [INFO] [stderr] Checking gettext-utils v0.1.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Compiling 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: Other, 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] [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: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] [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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "7225a1c80a24319d8b31116161c0dc42a68d9b498582681b7aa2669e58856078", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7225a1c80a24319d8b31116161c0dc42a68d9b498582681b7aa2669e58856078", kill_on_drop: false }` [INFO] [stdout] 7225a1c80a24319d8b31116161c0dc42a68d9b498582681b7aa2669e58856078