[INFO] fetching crate gettext-macros 0.6.0... [INFO] checking gettext-macros-0.6.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate gettext-macros 0.6.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate gettext-macros 0.6.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--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-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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd636bae1819f34892c00233bc0f7799a6f71c8bc9bddbb897e3290949c7eb60 [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" "fd636bae1819f34892c00233bc0f7799a6f71c8bc9bddbb897e3290949c7eb60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd636bae1819f34892c00233bc0f7799a6f71c8bc9bddbb897e3290949c7eb60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd636bae1819f34892c00233bc0f7799a6f71c8bc9bddbb897e3290949c7eb60", kill_on_drop: false }` [INFO] [stdout] fd636bae1819f34892c00233bc0f7799a6f71c8bc9bddbb897e3290949c7eb60 [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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ec1103c423fc2331a85928276bf930a50e1efdcc8455f84d97f2b00b3b6d57d [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" "6ec1103c423fc2331a85928276bf930a50e1efdcc8455f84d97f2b00b3b6d57d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking gettext-utils v0.1.0 [INFO] [stderr] Checking proc-macro2 v1.0.24 [INFO] [stderr] Compiling gettext v0.4.0 [INFO] [stderr] Checking quote v1.0.9 [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] [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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "6ec1103c423fc2331a85928276bf930a50e1efdcc8455f84d97f2b00b3b6d57d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ec1103c423fc2331a85928276bf930a50e1efdcc8455f84d97f2b00b3b6d57d", kill_on_drop: false }` [INFO] [stdout] 6ec1103c423fc2331a85928276bf930a50e1efdcc8455f84d97f2b00b3b6d57d